HTML Entity Encoder / Decoder

Encode text into named, decimal, or hexadecimal HTML entities locally in your browser, and decode entities back to plain text.

HTML Entity Encoder / Decoder

Convert text, HTML snippets, and special characters into named, decimal, or hexadecimal HTML entities, then decode entities back to plain text locally in your browser.

How to use it

  1. Choose the entity format and encoding range at the top.
  2. Type plain text on the left and the HTML entity output updates instantly on the right.
  3. If you already have entity text, paste it on the right to decode it back.
  4. Copy the result for docs, CMS fields, templates, tutorials, or frontend rendering.

Features

  • Named, decimal, and hexadecimal entity formats
  • Minimal, non-ASCII, and all-special encoding ranges
  • Two-way local conversion with no server upload

When is it useful?

  • Displaying HTML tags and symbols safely in content
  • Normalizing multilingual text into HTML entities
  • Debugging templates, editors, and email markup that contain entities

Related Encoding Tools

Base64 Encode/Decode

Encode or decode text as Base64, with Base64url support, Unicode handling, and real-time two-way conversion.

Base16 Encoder / Decoder

Convert plain text to and from Base16 hexadecimal locally in your browser with Unicode support, format validation, and uppercase or lowercase output.

Base32 Encoder / Decoder

Convert plain text to and from Base32 locally in your browser with Unicode support, whitespace-tolerant decoding, lowercase input support, and optional padding output.

Base58 Encoder / Decoder

Convert plain text to and from Base58 locally in your browser with Unicode support, whitespace-tolerant decoding, and Bitcoin, Flickr, or Ripple alphabet switching.

Number Base Converter

Convert integers across binary, octal, decimal, hexadecimal, Base32, Base36, Base62, Base64, and a custom base locally in your browser.

Unicode Escape / Unescape

Convert text into \uXXXX, \u{XXXXX}, U+XXXX, HTML numeric entities, UTF-8 hex bytes, URL percent-encoding, and more locally in your browser, then unescape it back.

URL Component Encoder / Decoder

Encode or decode URL path segments, query values, and hash text locally in your browser with encodeURIComponent / decodeURIComponent.

Roman Numeral Converter

Convert Roman numerals and Arabic numbers in both directions, and validate canonical Roman notation from 1 to 3999.

Chinese Uppercase Number Converter

Convert numbers and Chinese uppercase monetary text in both directions locally in your browser with yuan, jiao, fen, negatives, and up to two decimal places.

Morse Code Converter

Convert text and Morse code in both directions locally in your browser with spacing normalization, token validation, and optional audio playback.