Underscore Symbol

Copy _, the underscore symbol, or type it with Shift and the hyphen key; wide, double and wavy forms follow.

_Low lineU+005FReady to copy

19 underscores and low marks. Tap any value to copy it.

19 underscores and low marks. A character and its name both copy the character. A code copies the code.
CharacterNameCode pointHTMLLaTeX
U+005F. The underscore; low line is its name in Unicode. On the U.S. layout it is Shift and the hyphen key. Alt+95 types it, its number in ASCII, and a web page can write it _.
U+FF3F. The underscore at the full width of a Chinese or Japanese character: the longest single one.
U+2017. Two low lines, one under the other, in one character.
Made of four underscores. Typed side by side they join into one line, the usual way to leave a blank to be filled in by hand.
The letter a carrying U+0332, a mark that underscores whatever comes before it.
Hyphen, underscore, hyphen: a text face with shut eyes and a flat mouth.

How it works

The underscore symbol is _, a short line on the baseline that Unicode names low line, U+005F. On the U.S. keyboard it is Shift and the hyphen key, and its Alt code is 95, its number in ASCII.

Read the full guide

Where it is on the keyboard

On the U.S. layout the underscore shares a key with the hyphen, right of the zero: hold Shift and press it. Alt+95 on a number pad types the same character, and a web page can write it _ or _.

What the character is for

It first appeared on typewriters, to underline a word already typed. Today it marks word boundaries where spaces are not allowed, as in file names and email addresses. A long underscore is several in a row, which join into one line; _ is the widest single one.

  • Underscore emoticons use it as a mouth: -_- is hyphen, underscore, hyphen.
  • In math, a plus over a line is ±, and a C or side U over one is ⊆.
  • The underscore joined ASCII by 1967, taking the place of a left arrow.

Questions and answers

What is an underscore symbol?

A short line on the baseline, _, or a low line, or a low dash. It is a character of its own, U+005F, and not the same thing as underlining, which draws a line under other text.

Where is the underscore symbol on the keyboard?

On the U.S. layout it is on the hyphen key, to the right of the zero. Hold Shift and press that key. The same key without Shift types a hyphen.

What is the Alt key code for an underscore?

Alt+95. Hold Alt, type 95 on the number pad and let go. 95 is the number of the character in ASCII and in the PC code tables. A long underscore has no Alt code of its own: it is several in a row.

What is the Alt code for an inverted underscore?

There is none in either Alt code table. The line at the top of the row is the overline, ‾, U+203E, a separate character that a web page can write ‾.

How do I copy and paste a long underscore?

Copy the row of four, ____, or the wide _, and paste it. Underscores side by side join into one unbroken line, so a line of any length is the same character repeated.

All 19 underscores and low marks

Start here 6

  • Double low line U+2017. Two low lines, one under the other, in one character.
  • Flat face Hyphen, underscore, hyphen: a text face with shut eyes and a flat mouth.
  • Four underscores in a row Made of four underscores. Typed side by side they join into one line, the usual way to leave a blank to be filled in by hand.
  • Fullwidth low line U+FF3F. The underscore at the full width of a Chinese or Japanese character: the longest single one.
  • Low line U+005F. The underscore; low line is its name in Unicode. On the U.S. layout it is Shift and the hyphen key. Alt+95 types it, its number in ASCII, and a web page can write it _.
  • Underlined a, with the combining low line The letter a carrying U+0332, a mark that underscores whatever comes before it.
Show all 19 underscores and low marks (13 more)

Low lines 6

  • Centreline low line U+FE4E. A low line of long and short strokes by turns; centreline low line is its Unicode name.
  • Dashed low line U+FE4D. An underscore cut into short dashes: a dotted rule in one character.
  • Double underlined a The letter a carrying U+0333, which rules two strokes beneath it.
  • Presentation form for vertical low line U+FE33. The underscore stood upright for East Asian text set in columns: it runs down the side.
  • Presentation form for vertical wavy low line U+FE34. The wavy one stood upright in the same way.
  • Wavy low line U+FE4F. An underscore that ripples: one wave-shaped stroke along the baseline.

Text faces with an underscore 4

  • Crying face Capital T twice: tears running down from each eye, with the underscore for a mouth.
  • Smiling face Two carets for eyes and an underscore for the mouth: a smiling text face.
  • Staring face Lowercase o twice, for round eyes, and an underscore between them.
  • Wincing face A greater-than and a less-than sign as eyes squeezed shut, with an underscore between.

Ties and low marks 3

  • Inverted undertie U+2054. The undertie flipped over, a low arch. In Unicode since version 4.0 (2003).
  • Modifier letter low macron U+02CD. A short stroke at the foot of the line: a phonetic sign for a low, level tone, and no underscore.
  • Undertie U+203F. A low curve that ties two letters together. Unicode's other name for it: Greek enotikon.

How this list was compiled: Names, and the code points they belong to, are checked against UnicodeData.txt, version 18.0.0 (https://www.unicode.org/Public/18.0.0/ucd/UnicodeData.txt), and printed in sentence case. Notes that begin Unicode's note quote NamesList.txt of the same version (https://www.unicode.org/Public/18.0.0/ucd/NamesList.txt); the version a character was added in is from DerivedAge.txt (https://www.unicode.org/Public/18.0.0/ucd/DerivedAge.txt), block names are from Blocks.txt, and the years are from https://www.unicode.org/history/publicationdates.html. Alt codes are from the code page 437 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/PC/CP437.TXT), the PC graphics table for codes 1 to 31 (https://www.unicode.org/Public/MAPPINGS/VENDORS/MISC/IBMGRAPH.TXT) and the code page 1252 table (https://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP1252.TXT). Option keys are those of the U.S. keyboard layout as CLDR records it (https://github.com/unicode-org/cldr/blob/release-42/keyboards/osx/en-t-k0-osx.xml); other layouts differ. HTML entity names are from https://html.spec.whatwg.org/entities.json. LaTeX macros are listed only when LaTeX's own fontdef.dtx, ltoutenc.dtx or utf8ienc.dtx (https://github.com/latex3/latex2e/tree/develop/base) or the amssymb source (https://ctan.org/pkg/amsfonts) defines them, matched to a code point through unicode-math-table.tex (https://github.com/latex3/unicode-math). Compose sequences are from the X.org en_US.UTF-8 Compose file (https://gitlab.freedesktop.org/xorg/lib/libx11/-/blob/master/nls/en_US.UTF-8/Compose.pre). The rows are chosen from the 12 characters whose Unicode name has the words low line or underscore, found by a search of UnicodeData.txt, with two ties, a tone mark, made rows and four text faces of common make added. The Alt code of the underscore is its place in the code page 437 table, which is also its ASCII number. Where the character came from, what it is used for, the blank to fill in and its year in ASCII: https://en.wikipedia.org/wiki/Underscore, read on 2026-10-02 and restated in this site's own words. The Start here group, the made rows and the order are this site's own choice. Licence: own work (facts from the Unicode Character Database, Unicode License v3, and from Wikipedia, CC BY-SA 4.0, restated in this site's own words; aliases and notes marked as Unicode's are quoted from NamesList.txt, Copyright © 1991-2026 Unicode, Inc., https://www.unicode.org/license.txt)