HTML Entity Encoder
Encode or decode HTML entities in text.
Works Offline
Privacy First
No Login
No API
Input
Output
About the HTML Entity Encoder
Convert reserved HTML characters like <, >, &, and quotes into safe entities, or decode HTML entities back into plain text. Optionally encode every non-ASCII character as a numeric entity.
Examples
Encode markup
<div>Hi & "bye"</div>Output
<div>Hi & "bye"</div>Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
Base32 Encoder
Encoders & Crypto
Encode or decode text using RFC 4648 Base32.
Base64 Encoder
Encoders & Crypto
Encode or decode text to/from Base64, UTF-8 safe.
URL Encoder
Encoders & Crypto
Encode or decode strings using encodeURIComponent/encodeURI.
JWT Decoder
Encoders & Crypto
Decode a JWT's header and payload, and check expiry.
Basic Auth Header Generator
Encoders & Crypto
Build or decode an HTTP Basic Authorization header.
File Base64 Encoder/Decoder
Encoders & Crypto
Convert any file to a Base64 data URI, or decode Base64 back to a file.
Frequently asked questions
Version 1.0.0 · Updated 2026-08-06 · Runs entirely in your browser