HTML Encode / Decode
Escape HTML special characters (&, <, >, ", ') or decode entities back to text.
Runs in your browser — files never leave your device
Input
Output
How it works
Escape HTML so user content displays as text instead of being parsed as markup, or decode entities back.
Useful for safely showing code or user input in a page.
Frequently asked questions
- Is my text uploaded?
- No — it runs entirely in your browser.
- Which characters are escaped?
- The five HTML-significant characters: &, <, >, double-quote and single-quote.
Related tools
- Word & Character CounterCount words, characters, sentences, paragraphs and lines instantly. Runs entirely in your browser — your text never leaves your device.
- Case ConverterConvert text between UPPERCASE, lowercase, Title Case, camelCase, snake_case, kebab-case and more — instantly in your browser.
- Slug GeneratorTurn any title into a clean, URL-friendly slug. Removes accents and punctuation; runs in your browser.
- Text ReverserReverse any string character by character. Handles Unicode correctly; runs locally.
- Remove Duplicate LinesStrip duplicate lines from a list, keeping the first occurrence. Optional case-insensitive and trim modes.
- Sort LinesSort lines alphabetically, ascending or descending, with optional case-insensitive comparison.