Convert special characters to HTML entities (or back again) safely, entirely in your browser useful for escaping user content.
Did this tool save you some time? A quick testimonial helps a lot.
Convert special characters to HTML entities (or back again) safely, entirely in your browser useful for escaping user content.
Add your input to the workspace above, review the result, then copy or download it when it's ready. No account or installation is required.
HTML Entity Encoder/Decoder runs in your browser, so the information you enter stays on your device instead of being uploaded to a server.
A few worked examples so you know what to expect before you paste in your own input.
Input
<div class="card">
Output
<div class="card">
Input
Tom & Jerry's "Show"
Output
Tom & Jerry's "Show"
Input
<script>alert(1)</script>
Output
<script>alert(1)</script>
Regex debugging, text diffs, Markdown to HTML, case conversion, and word counts — the text transforms that show up in every sprint.
Convert colors between HEX, RGB, and HSL, build CSS gradients you can paste, and check contrast against WCAG AA/AAA before the design review does.
Related Tools