Home About Contact
Categories
Text Tools 51 Calculators 42 Converters 31 Developer Tools 64 SEO Tools 29 Image Tools 54 Security Tools 13 Social Media 28 Document Tools 54 Utility Tools 67 Health & Fitness 52 Finance Tools 78 Education & Study 84 Audio & Video 29 Printables & Templates 50 Games & Puzzles 30

HTML Encoder / Decoder

Convert special characters to HTML entities and decode entities back to text.

Developer Tools Free Private

Input

Output

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 &amp; back into normal text.

How to use the HTML Encoder / Decoder

  1. Paste your HTML or text.
  2. Click Encode to escape it or Decode to unescape it.
  3. 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