HTML Encoder Decoder
Encode and decode HTML entities
Encodes & < > " and ' to their HTML entities. Decoding also understands numeric entities like < and <. Everything runs in your browser, nothing is sent or stored anywhere.
About this tool
Displaying code samples on a webpage, or safely injecting user content, requires converting special characters into HTML entities. Doing it by hand is tedious and easy to get wrong.
Encode any text to entities or decode entities back to characters with live conversion and one-click copy. A staple utility for front-end developers.
How to use the html encoder decoder
- 1Paste your text or code.
- 2Switch between Encode and Decode tabs.
- 3Copy the converted result.
Frequently asked questions
Related tools
More free tools you might find useful.
URL Encoder & Decoder
Encode and decode URLs and query strings instantly.
Developer ToolsBase64 Encoder & Decoder
Encode and decode Base64 with full Unicode support
Developer ToolsHTML Minifier
Compress HTML for faster page loads
Developer ToolsRegex Tester
Test regular expressions live with highlighted matches
Developer ToolsPart of Developer Tools on JoliTools, free tools, no sign-up.