Encoders & Decoders
HTML Encoder / Decoder
Escape special characters to HTML entities or decode entities back to plain text. Useful when embedding snippets safely in markup—runs in your browser.
Loading tool…
How to use
- Paste your text or entity string
- Choose Encode or Decode
- Copy the result
Next step
- Unicode Escape / Unescape
Escape non-ASCII characters to JavaScript \u sequences or unescape them back to readable text. Handles BMP and surrogate pairs—runs in your browser.
- Hex Encoder / Decoder
Encode UTF-8 text to hexadecimal bytes or decode hex back to readable text. Accepts spaced, compact, or 0x-prefixed hex—runs locally.
- URL Encoder / Decoder
Percent-encode or decode URL components for query strings, path segments, and form values. Uses encodeURIComponent / decodeURIComponent in your browser.
Frequently asked questions
Which characters are encoded?
Encode mode escapes &, <, >, ", and ' so you can embed text safely inside HTML without breaking markup.
When should I encode vs use Markdown Preview?
Use this when you need raw entity escaping for templates or CMS fields. Use Markdown Preview when you want rendered HTML from Markdown source.
Does my HTML leave the device?
No. Encoding and decoding run locally in your browser.