Convert ampersands, angle brackets, quotation marks and apostrophes into HTML-safe character entities.
ENCODE & DECODE HTML ENTITIES
Encode reserved HTML characters into safe entities or decode HTML entities back to readable text instantly in your browser.
TESTED & REVIEWED
WHY USE IT
Convert ampersands, angle brackets, quotation marks and apostrophes into HTML-safe character entities.
Turn named and numeric HTML entities back into readable Unicode text with one click.
Encoding and decoding happen locally without sending snippets or content to a server.
HOW IT WORKS
Add the characters or encoded entities you want to transform.
Create safe entities or restore encoded content to readable text.
Use the transformed output in HTML, templates, documentation or data files.
HTML ENTITY EXAMPLES
Encode < as < and > as > when a tutorial, message or documentation page needs to display an HTML tag without the browser interpreting it.
Encode an ampersand as &amp; and quotation marks when they could be confused with entity or attribute syntax. Encoding text is different from sanitizing untrusted HTML.
Restore named references such as &copy; and numeric references such as © when copied data should become readable Unicode text.
COMMON QUESTIONS
It encodes ampersands, less-than and greater-than signs, double quotation marks and apostrophes, covering the reserved characters most often needed in HTML text and attributes.
Yes. The browser decoder supports common named entities as well as decimal and hexadecimal numeric character references.