HTML Encode / Decode
Escape and unescape HTML entities
Loading tool…
About the HTML Encode / Decode
Escape HTML special characters into entities (&, <, >, ") or decode entities back to readable text. Use this HTML encoder to safely display code snippets on web pages and prevent markup injection, or the decoder to clean up scraped or exported content full of named and numeric entities.
How to use
- 1Choose Encode to escape, or Decode to unescape.
- 2Paste HTML or entity-laden text.
- 3Copy the converted output.
Related Text & Code tools
HTML Encode / Decode is part of DevKit — 100 free, privacy-first tools for developers, students, and everyone, built by Minhazul Ashim. Everything runs in your browser; your data never leaves your machine.