HTML Entities Encoder & Decoder
Escape and unescape HTML entities safely.
0 Characters · 0 Words · 0 Lines
About the HTML Entities Encoder
Show a code sample on a web page without escaping it, and the browser will happily render your <div> as an actual div. This tool escapes the dangerous five — &, <, >, " and ' — into their entity forms, so snippets display as text, and unescapes entities back when you are reading markup from a database or CMS.
Both directions run live: paste raw HTML to get publishable entities, or paste entity-encoded text to recover the original characters.
How to use it
- 1Paste HTML or code containing <, >, & and quotes.
- 2Copy the escaped output for safe embedding in a page.
- 3Or paste entities like < to decode them back.
Frequently asked questions
Related tools
Base64 Encoder & DecoderEncode and decode Base64 instantly, Unicode-safe.URL Encoder & DecoderEscape and unescape URLs and query strings safely.Binary Code TranslatorTranslate text to binary code and back, live.Hex to Text ConverterConvert text to hexadecimal and back, UTF-8 safe.Morse Code TranslatorTranslate, decode and hear Morse code with real audio.ROT13 Encoder / DecoderHide and reveal text with the classic ROT13 cipher.