Convert special characters like <, >, &, and quotes to HTML entities and back. Paste your text, encode or decode in one click. Free, no signup, runs in your browser.
Some characters are reserved in HTML. A browser reads < and > as the start and end of tags, and & as the start of an entity — so if you want those symbols to appear as literal text, they have to be written as entities (<, >, &).
The HTML Entity Converter handles this both ways. Encode turns special characters into their entity form so they display correctly instead of being parsed as markup. Decode does the reverse — turning entities back into readable characters. Flip on "Live update" to convert as you type, or use the buttons for a single conversion.
Showing code examples. Writing a tutorial that includes HTML tags? Encode them so the markup displays on the page instead of rendering. This is the most common reason people reach for an entity converter.
Special symbols. Characters like €, £, ©, ®, and math symbols encode cleanly so they render consistently across browsers and email clients.
Safer output. Encoding user-submitted text before displaying it is a basic defense against breaking your layout or injecting unwanted markup. Note: this tool is a convenience for content, not a substitute for proper server-side escaping in an application — always escape untrusted input on the server too.
Paste your text
Plain text goes in the left box; HTML entities go in the right box.
Encode or decode
Click "Encode →" to convert plain text to entities, or "← Decode" for the reverse.
Or use Live update
Toggle it on to convert automatically as you type in either box.
Copy the result
Select the output and copy it into your page, post, or editor.
Both Directions
Encode plain text to entities and decode entities back to text.
Live Update
Optional real-time conversion as you type in either box.
Quick Reference
Click a common entity to insert it straight into your text.
Keyboard Shortcuts
Ctrl/Cmd + Enter to convert, Ctrl/Cmd + L to toggle live update.
100% Private
Conversion happens in your browser — your text is never uploaded.
Character Count
Live character counts for both the input and the output.