Escape < > & and quotes so code shows safely on web pages, or decode entities.
What is the HTML Encoder / Decoder?
When you want to show code on a web page, characters like < and > must be turned into HTML entities. This tool encodes text into safe HTML entities and decodes entities like & back into normal text.
How to use the HTML Encoder / Decoder
- Paste your HTML or text.
- Click Encode to escape it or Decode to unescape it.
- Copy the result into your page or blog post.
Frequently asked questions
Which characters are encoded?
&, <, >, double quotes and single quotes. You can also encode all non-English characters.
Why encode HTML?
It stops the browser from running your code as HTML and helps prevent XSS problems.
This html encoder / decoder is 100% free, needs no signup and runs in your browser, so your data stays private.
Last updated: · By NodifyTech