HTML Entity Encoder / Decoder
Convert special characters like &, <, and > to HTML entities, or decode entities back to plain text.
How to use this tool
Switch to Encode to convert special characters (&, <, >, quotes) into their HTML entity equivalents, safe to embed inside HTML markup. Switch to Decode to turn entities like & back into readable text. Everything runs locally in your browser.
Related Tools
Related Blog Posts
HTML Entities and Code Minification: Two Small but Important Web Dev Tasks
Why special characters need encoding in HTML, and why minifying code before shipping it still matters even with modern build tools.
Read moreBest Free Tools Every Developer Should Bookmark
Five browser-based utilities worth bookmarking for everyday development tasks, and what each one is actually good for.
Read moreJSON vs XML: Which Data Format Should You Use in 2026?
A practical comparison of JSON and XML for APIs, config files, and data exchange — including where each format still wins.
Read more