HTML Entity Encoder / Decoder
Convert special characters to and from HTML entities.
Free to use · No sign-up · Runs in your browser · Your data is never uploaded.
What the HTML Entity Encoder / Decoder does
The HTML entity encoder and decoder converts special characters to their HTML entity form and back, so text displays correctly in web pages.
How it works
Characters such as angle brackets and ampersands have special meaning in HTML. The encoder replaces them with entities like < and & so they render as text rather than markup.
The decoder does the reverse, turning entities back into readable characters, which is useful when working with scraped or encoded content.
How to use the HTML Entity Encoder / Decoder
- 1Choose encode or decode.
- 2Paste your text or HTML.
- 3Run the conversion.
- 4Copy the result.
- 5Use it in your HTML or content.
HTML Entity Encoder / Decoder questions
It is a code such as & that represents a character which would otherwise be interpreted as HTML markup.
When displaying user input or code samples that contain characters like <, > and &.
Yes. It converts common named entities such as &nbsp; and &copy; as well as numeric ones.
No. It only converts the characters you choose, leaving the rest of your markup intact.
Related SEO tools
Ready to build links that move rankings?
Use our vetted marketplace of 2,000 sites or let us run a done-for-you campaign with white-label reporting.