DevToolCase
Sign in Sign in

Decode HTML entities

Turn &, é, é or — back into characters, with unknown entities and missing semicolons pointed out.

Share this result

Encrypted in your browser. The key stays in the link, after “#”: only the people you give it to can read it, not even DevToolCase.

The link works for

Sign in for longer links or links without expiry, and to find them in your account.

Runs entirely in your browser: nothing you type is sent or stored.

Reading HTML entities

Scraped pages, CMS exports and some APIs return text full of ", é or ’. Decoding gives back the characters, ready to read or to store as plain text.

What the decoder reads

  • Numeric entities, decimal (é) or hexadecimal (é), for any character. € to Ÿ are read as Windows-1252 characters (– is “–”), as browsers do.
  • Over 550 named entities: all of HTML 4, the accented letters of Central European languages, and the common HTML5 additions (punctuation, fractions, arrows, math symbols). Names are case-sensitive: É is “É”, é is “é”.
  • An unknown name, such as &eacut;, is left as it is and pointed out: a typo, or one of the rare names among the 2,231 of HTML5.

Missing semicolons and double encoding

Browsers still decode the oldest names without their semicolon: in a link written ?lang=fr&copy=2, they read ?lang=fr©=2. The decoder does the same and points it out: such an & should have been written &.

A text escaped twice shows é, and decoding it once gives é, so decode the result again. To go the other way, encode HTML entities.

Common entities

EntityCharacterUse
 non-breaking space, keeps “10 kg” on one line
­soft hyphen, where a long word may break
© ® ™© ® ™copyright and trademarks
€ £ ¥€ £ ¥currencies
– —– —en dash (ranges), em dash
……ellipsis
« »« »French quotation marks
“ ” ‘ ’“ ” ‘ ’curly quotes and apostrophe
× ÷ ±× ÷ ±arithmetic
≤ ≥ ≠ ∞≤ ≥ ≠ ∞comparison, infinity
← → ↑ ↓← → ↑ ↓arrows
° µ ¶ §° µ ¶ §degree, micro, paragraph, section

Add this browser’s favorites to your account?

This browser has 0 favorites that your account does not have:

Either way, this browser keeps its favorites: you find them again after signing out.