HTML Entities
Convert characters like <, >, & to their HTML entities (< > &) or back to characters. Runs in your browser — nothing is uploaded.
About HTML Entities Encoder/Decoder
HTML Entities Encoder/Decoder swaps between raw text and HTML-encoded text. Encode <script> so it displays as text in a blog post rather than running; decode 'é' back to 'é' when copying from an old HTML export to a modern editor. Choose which characters get encoded — only the four essentials (& < > "), or also single quotes, or every non-ASCII character via named or numeric entities. Everything runs locally in your browser, so HTML-containing user input you're testing stays on your device.
Best for
- Showing code snippets on a page without triggering script execution
- Decoding named entities from an old HTML export to clean UTF-8 text
- Encoding quotes inside a JavaScript string that builds HTML
Pros
- +Pick essential, extended, or full-coverage entity set
- +Bidirectional — encode raw to &entity;, decode &entity; back to raw
- +Local JavaScript only — user input stays on your device
Cons
- −Entities are an HTML-spec thing; not useful for non-HTML contexts
- −Some edge entities (ℜ, ℑ — only the future-HTML ones) decode only on modern browsers
How to use HTML Entities Encoder/Decoder
- 1
Select or upload the source files from your local device storage.
- 2
Specify conversion settings, options, or target output formats.
- 3
Wait for the client-side browser logic to process the files securely.
- 4
Download the finalized outputs directly to your system.
Frequently Asked Questions
What's the difference between essential and full entity encoding?
Can I decode an old page's entities to clean UTF-8 text?
Is encoding necessary for content inside '<textarea>' too?
Why does decoding some entities show '?' on old browsers?
Are my HTML snippets uploaded?
Related tools
ASCII Converter
ASCII and text conversion
Base64
Encode and decode Base64
URL Encode/Decode
URL encoding utilities
Data File Converter
Convert JSON, YAML, XML, CSV, TSV & more files
Data Schema Text Converter
Convert JSON, YAML, XML, CSV, TSV & code snippets online
Hex Text
Hexadecimal conversion
Binary Text
Binary conversion
JWT Decoder
Decode JSON Web Tokens
Code Beautifier
Format code and JSON
100% Free
No hidden fees, no subscriptions, and no limits. Enjoy complete access to all features gratis.
No Signup Required
Start converting immediately without creating an account or sharing email address.
Private & Secure
Your files never leave your device. All processing is completed locally for maximum privacy.
Batch Conversion
Convert multiple files simultaneously to save time. Fast and efficient multi-file queue.
Runs in Browser
Utilizes advanced client-side WebAssembly technology to process files directly inside your tab.
200+ Formats
Supports a wide variety of formats including images, documents, audio, video, and more.
HTML Entities Quality Rating
How was your experience? You need to convert and download at least one file to provide feedback!