Underline Text Generator

Type your text to get it underlined in plain characters you can copy and paste anywhere, or paste underlined text to remove the lines.

The underlined text appears as you type. Paste up to 100,000 characters.
Direction
Style
Style is for Add Underline. Remove Underline takes out the marks of all six styles at once.

Results

24 letters and digits underlined

A letter with its mark is 2 code points. The result is 55 code points against 31 in the plain text. Left as typed: :.

How to Use the Underline Text Generator

  1. Type or paste your text into Your Text. The underlined version appears beside it, or below it on a phone, as you type.
  2. Pick a Style. Underline is the usual single line, Double Underline is two lines, and with Short, Dotted, Wavy and Wiggly, each letter has a separate mark under it.
  3. Turn on Underline spaces too to put the line under the spaces as well, so that with Underline and Double Underline the line is unbroken under a whole phrase.
  4. Press Copy Text and paste the result into a bio, a post, a chat message or a document title.
  5. To remove the lines, pick Remove Underline under Direction and paste the text in, or press Use Output as Input. Press Clear to empty the box and set every choice back to the start.

Example of Underlining a Chapter Heading

The starting text is Chapter 4: The Café on Rue Cler. With Underline picked, the 24 letters and digits each get a line, and the colon and the spaces are left as typed:

C̲h̲a̲p̲t̲e̲r̲ 4̲: T̲h̲e̲ C̲a̲f̲é̲ o̲n̲ R̲u̲e̲ C̲l̲e̲r̲

There are gaps at the spaces. Turn on Underline spaces too and the 6 spaces get a line as well, so the heading is C̲h̲a̲p̲t̲e̲r̲ ̲4̲: ̲T̲h̲e̲ ̲C̲a̲f̲é̲ ̲o̲n̲ ̲R̲u̲e̲ ̲C̲l̲e̲r̲ with one line from the first letter to the last. The plain heading is 31 characters; the underlined one is 55 code points, or 61 with the spaces underlined, because every line is a character of its own.

Pick another style with the underlined heading still in the box and the 24 old lines are replaced, not doubled. Pick Remove Underline for the plain heading again, é included.

Underline Styles and Their Unicode Marks

In every style, there is one combining mark after each letter. The last column has the weight of a plain letter and its mark on X, out of the 280 allowed in a post.

StyleLooks LikeMark AddedUnicode NameWhat You SeeCounts on X
Underlinea̲b̲c̲U+0332COMBINING LOW LINEOne line, joined from letter to letter2
Double Underlinea̳b̳c̳U+0333COMBINING DOUBLE LOW LINETwo lines, joined2
Short Underlinea̱ḇc̱U+0331COMBINING MACRON BELOWA short line under each letter, with gaps2
Dotted Underlinea̤b̤c̤U+0324COMBINING DIAERESIS BELOWTwo dots under each letter2
Wavy Underlinea̰b̰c̰U+0330COMBINING TILDE BELOWA small wave under each letter2
Wiggly Linea᪶b᪶c᪶U+1AB6COMBINING WIGGLY LINE BELOWA wavy line under each letter3

In the Unicode chart, U+0332 has the other names underline and underscore, and U+0332 and U+0333 are listed as connecting on the left and right, which is why the line is joined up between letters in those two styles. U+1AB6 is a newer mark, added for German dialect writing, and fewer fonts have it, so Wiggly Line is the style most likely to appear as boxes.

Unicode Underline and Formatting Underline

An underline made with the Underline button in a word processor is formatting, and the letters are plain. It disappears when you paste the text into a plain text field, such as most profile bios, comment boxes and display names. A Unicode underline is part of the text, so it is still there wherever you paste the text.

Where real underline formatting exists, use it. In Google Docs it is Ctrl + U on a PC and ⌘ + U on a Mac. In Discord, put two underscores on each side of the words, as in __see you there__. Formatting like this is lighter to read, is easier for screen reader users, matches in search, and has no extra characters.

Which Characters Get a Line

  • Letters and digits of every alphabet get one mark each, accented letters included. A letter with accents counts as one character, whether it was typed as é or as e followed by a separate accent.
  • Spaces get a line only when Underline spaces too is on. Line breaks and tabs never do.
  • Punctuation, symbols and emoji are left as typed, so the line has a gap at a colon or an emoji.
  • Lines already in the text from any of the six styles are removed first, so when you change the style, they are replaced.

Where Underlined Text Causes Problems

  • Letters with tails. In most fonts the line is drawn at the same height under every letter, so it crosses the tails of g, j, p, q and y, as in j̲u̲m̲p̲i̲n̲g̲ ̲g̲y̲p̲s̲y̲.
  • Fonts. The line is drawn by the font on the reader’s device. It can be a little off centre, have small gaps between letters or appear as a box after each letter where the font has no glyph for the mark. The result box is in your own system font, with no web font loaded, so what you see there is roughly what a reader with the same kind of device sees.
  • Line wrapping. With Underline spaces too on, the mark after a space counts as a separate letter in the Unicode line breaking rules, so a long phrase can wrap between a space and its line, with a short piece of line at the start of the next row.
  • Screen readers and search. Screen reader users may hear the word, the word spelled out or a name for each mark, depending on the screen reader. Someone who searches for the plain word may not find the underlined one. Keep names, links and anything people need to find in plain text.
  • Character limits. Each mark is a character, so an underlined letter is 2 code points, and 3 on X with Wiggly Line. The 31-character heading counts as 55 of the 280 characters allowed on X.

How Underline Marks Are Added and Removed

With Add Underline picked, your text is read one user-perceived character at a time, using the grapheme cluster rules of Unicode Standard Annex #29. Characters that start with a letter or digit, Unicode general category L or N, get the mark of the chosen style after their last code point. Emoji, including keycaps such as 1️⃣, and everything that is not a letter or digit are left as typed. With Underline spaces too on, space characters, category Zs, get the mark as well.

With Remove Underline picked, the six marks U+0324, U+0330, U+0331, U+0332, U+0333 and U+1AB6 are deleted wherever they are, and nothing else is changed. Three of them are also accents in some languages, so a letter typed as two characters is left without its accent: Tre̤s becomes Tres, while the same word with the one-character letter ṳ is unchanged: Trṳs. The text is converted in your browser and is not sent anywhere.

FAQs

Q1. How Do You Underline Text Without Formatting?

You underline text without formatting by adding a combining low line, U+0332, after every letter, and the Underline Text Generator adds it as you type. Type your text, keep Underline picked, then press Copy Text and paste it where you need it. The line is kept even in a box with no formatting buttons, because it is part of the text, as in a̲b̲c̲.

Q2. How Do You Underline Text in Discord?

To underline text in Discord, put two underscores on each side of the words, as in __text__, and the message shows a line under them. Discord applies that formatting in messages only, so for a display name, a status or other places with no formatting, make the underlined text with the generator and paste it in instead.

Q3. How Do You Make a Double Underline?

You make a double underline by picking Double Underline, which adds U+0333 COMBINING DOUBLE LOW LINE after each letter, as in a̳b̳c̳. Turn on Underline spaces too if you want the spaces between words double underlined as well.

Q4. Why Does the Underline Have Gaps Between Words?

The underline has gaps between words because only letters and digits get a mark at first, and the spaces between them are left plain. Turn on Underline spaces too and every space gets the same mark, so the line is unbroken from the first letter to the last, as it is with an underline from a word processor.

Q5. Can You Remove an Underline From Copied Text?

You can remove the underline by picking Remove Underline and pasting the text in. The six underline marks are deleted and every letter, accent written as part of the letter, space and symbol is kept, so the plain text is ready to copy again.

Q6. Will Underlined Text Work on Instagram and Other Apps?

Underlined text can be pasted into Instagram and any other app that accepts text, because the line is a Unicode character rather than formatting. How it looks depends on the font on the reader’s device, and some sites refuse combining marks in fields such as usernames, so check the text in the place you post it.

Sources

Unicode Consortium, code chart Combining Diacritical Marks, U+0300 to U+036F, entries U+0324 and U+0330 to U+0333. Unicode Consortium, code chart Combining Diacritical Marks Extended, U+1AB0 to U+1AFF, entry U+1AB6. Unicode Standard Annex #29, Unicode Text Segmentation, extended grapheme clusters. Unicode Standard Annex #14, Unicode Line Breaking Algorithm, rule LB10. Unicode Character Database names and combining classes, as read with Python’s unicodedata module. X Developer Platform, Counting characters, and the twitter-text configuration file v3.json. Discord Support, Markdown Text 101. Google Docs Editors Help, Keyboard shortcuts for Google Docs.