Encoding Tools
Popular
Recently added
HTML Encoder / Decoder
Encode a string to HTML entities — or decode entities back to text.
Introduction
Use this HTML encoder / decoder to encode a string to HTML entities (or decode entities back). Handy when you need < > & escaping for markup, plus optional hex and binary views.
Features
- Encode a string to HTML entities
- Decode HTML entities to plain text
- Hex encode/decode
- Binary encode/decode
- Live conversion with copy
How to use
- 1Choose HTML entities (default), hex, or binary.
- 2Pick Encode or Decode, paste your string, and copy the output.
Example
Entity encode
Input<Hello>Output
<Hello>
Benefits
- Use HTML Encoder without installing a desktop app or browser extension.
- Works well alongside Strip HTML and URL Encoder for adjacent steps in the same workflow.
- Results stay in this browser tab until you copy or download them.
FAQs
& < > " and ' become & < > " and ' respectively.
Yes - hex/binary modes use UTF-8 bytes.
No.
Pair HTML Encoder with Strip HTML, URL Encoder, Base64. See Related tools on this page.
Related guides
HTML Entities Guide: Escape Markup Safely
HTML entities guide for developers: when to escape `<`, `>`, and `&`, how entities prevent XSS in text nodes, and how to encode or decode snippets locally.