Real Local Tools

HTML Entity Encoder / Decoder

Runs locally

Encode special characters to HTML entities and decode them back — safe for pasting code into pages.

Related tools

View all (10)

Convert characters like <, >, & and quotes into their HTML entity equivalents so code snippets render safely in web pages, or decode entities back to plain text. Named entities are used where they exist. Runs entirely in your browser.

Frequently asked questions

What are HTML entities for?

They let reserved characters like <, >, & and quotes display as text in a page instead of being parsed as markup — essential when embedding code snippets in HTML.

Does it produce named or numeric entities?

Named entities like &lt; are used where they exist because they are readable; everything else falls back to numeric form. Decoding handles both.

Is my text uploaded?

No. Encoding and decoding happen entirely in your browser.