HTML Entity Detail

HTML Entity - Tilde

Tilde is a diacritical marks and accent modifiers used in multilingual text. This HTML entity enables web developers to display this character reliably across all browsers without encoding issues.

Symbol preview
˜
Unicode

U+0007E

HTML entity

˜

CSS code

\007E

Usage Examples

Use this HTML entity in combination with base letters to create accented characters in languages like French, Spanish, and Vietnamese.

Common Mistakes

⚠️

Mistake: Confusing a standalone diacritical mark with a precomposed accented letter

Fix: Standalone diacritical marks (like ¨ or ˆ) are combining characters or spacing marks. Precomposed letters (like ü or ê) are single characters. Use the precomposed form for normal text and the standalone form only when discussing the mark itself.

⚠️

Mistake: Using diacritical marks with the wrong base letter

Fix: Not every diacritic combines with every letter. For example, ñ (n-tilde) is valid in Spanish, but m-tilde is not a standard character in any language.

Tilde

Select any code to highlight it before copying.

Category: Diacritical Marks
Unicode U+0007E
Hex Code ~
HTML Code ~
HTML Entity ˜
CSS Code \007E
Windows Shortcut
Mac Shortcut ⇧⌥8
HTML code example
CSS code example
Last updated: 21 Jun 2026