Skip to content

Add to your Home Screen

  1. Tap the Share button in Safari's toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. The generator opens full-screen and works offline.

What Is a Diacritic?

By Maya Chen, lettering designer and type educator · Checked by Jordan Hale · · How we review content

A diacritic is a mark attached to a letter that changes how it is pronounced, stressed or understood. Examples: the acute in é, the tilde in ñ, the umlaut in ü, the cedilla in ç, the circumflex in ô, the caron in š and the ring in å. The word comes from the Greek diakritikos, “able to distinguish”. Diacritics are used in many writing systems besides Latin, including Greek, Cyrillic, Arabic, Hebrew and Indic scripts.

Diacritics and meaning

Diacritics are not decoration in most languages that use them. In Spanish papa means “potato” and papá means “dad”; in French côte and côté are different words; in Vietnamese stacks of marks on one vowel give it a tone. In English, diacritics are rare and mostly in loanwords such as café, naïve and jalapeño, but they remain part of the spelling.

Precomposed and combining forms in Unicode

Unicode lets you encode an accented letter in two ways:

Form How Example
Precomposed One code point for the whole letter é = U+00E9
Decomposed Base letter plus a combining mark e (U+0065) + U+0301

Both display the same and are defined as canonically equivalent, but their data differ: one is one character and the other is two. Software that needs to compare strings uses normalisation (NFC composes, NFD decomposes) so that the two forms match. This is why a search for “café” can fail on text typed in the other form if software does not normalise.

The Combining Diacritical Marks block (U+0300 to U+036F) holds the common combining accents. When one follows a letter, the rendering engine, using the font’s mark positioning tables, places it above, below or through the base letter, taking into account the ascender height and baseline to avoid collisions.

The fancy-text tricks that are really diacritics

Several generators on this site use combining marks, not special alphabets:

  • Strikethrough adds U+0336 (COMBINING LONG STROKE OVERLAY) after each letter. See the strikethrough text generator.
  • Underline uses U+0332 (COMBINING LOW LINE), and double underline uses U+0333.
  • Zalgo or glitch text stacks many marks above and below each letter, like a “creepy” cloud: the glitch text generator.
  • Tilde-strike, cross-above and arrow-below use other marks from the same block, as in the text decorator.

Because the base letters remain, text like this survives copy and paste and can be reversed. Our unstyle text tool strips the marks and returns the plain letters. The downside is rendering: the number of marks a font draws before it stops varies, some apps clip them to the line height, and screen readers can read each mark, which makes the text noisy, as covered in fancy text accessibility. Platforms sometimes limit consecutive combining marks to protect their layouts. Our how fancy text works guide gives the broader picture.

A glyph is not the same as a character here either: a letter plus several marks is several characters but may be shown as a single cluster, called a grapheme cluster, which is what a user perceives as one letter.

Diacritics in lettering and handwriting

In handwriting, a diacritic is a separate small stroke added after the word is complete, like the dot over an i or the cross of a t. Teachers recommend adding them last, in a single pass, so the flow of a word is not interrupted. In hand lettering, diacritics need space: accents on capitals such as É and Ö rise above the cap height, so line spacing must be generous or the marks collide with the line above. This is the cause of most “tight leading” problems in lettering for languages such as French, Vietnamese and Czech.

Common confusions

  • A diacritic is not a letter. In some languages, though, ñ, ö or å count as separate letters in the alphabet and in sorting.
  • An umlaut is not a diaeresis in meaning, although both look like two dots: the diaeresis (naïve) marks a separate syllable, while the umlaut (Müller) marks a changed vowel. In Unicode both are the same mark, U+0308.
  • Combining marks are not styles. They add to letters; they do not replace them with a different alphabet.

Frequently asked questions

What is the difference between a diacritic and an accent?
An accent is one kind of diacritic. Diacritic is the general term for any mark added to a letter: acute, grave, circumflex, tilde, umlaut or diaeresis, cedilla, ogonek, macron, caron and dot. Accent in everyday English usually refers to the acute and grave marks, but speakers also use it for all of them.
What are combining characters in Unicode?
Combining characters are marks, such as U+0301 (combining acute accent), that do not stand alone but attach to the character before them. Typing e followed by U+0301 displays é. Unicode has several blocks of them, including Combining Diacritical Marks (U+0300 to U+036F), and rendering engines place them above, below or through the base letter.
How does zalgo text work?
Zalgo text piles many combining marks onto each letter, above, below and through it, and the renderer stacks them without limit. The base letters stay in the text, so it can be copied and pasted. Because it can overflow lines and confuse screen readers, platforms and forms often limit combining marks.
Are strikethrough and underline text diacritics?
Technically yes, in Unicode terms. Strikethrough text from generators uses a combining character, U+0336 (combining long stroke overlay), after each letter, and underline uses U+0332. They are in the combining marks block and are treated as marks attached to letters, even though they are used decoratively, not as spelling signs.