HTML Entity Encoder & Decoder
Convert special characters to HTML entities and back.
Example
Input: <h1 class="title">Hello & "World" — It's © 2024</h1>
Encoded: <h1 class="title">Hello & "World" — It's © 2024</h1>
How to Use
- Choose Encode to convert special characters to HTML entities, or Decode to reverse it.
- Paste your HTML or text into the input area. The tool handles named entities (&, <, etc.) and numeric entities (©, ©).
- The result appears instantly below. Click Copy to copy it to the clipboard.
- Use Clear to reset and start again.
Frequently Asked Questions
Related Tools
Encoding & ConversionBase64 Encoder / Decoder
Encode or decode Base64 strings instantly — client-side, no data sent to any server.
Encoding & ConversionURL Encoder & DecoderPercent-encode or decode full URLs and individual query-string components — live, client-side.
Encoding & ConversionHex Encoder / DecoderConvert text to hexadecimal and back — great for debugging binary data.
JSON & DataJSON Encoder & DecoderFormat, validate, and encode/decode JSON with Monaco editor — lenient parsing, local save, all client-side.
Text & StringRemove SpacesRemove all spaces, extra spaces, tabs, or line breaks from any text — seven modes, instant results.