Converter
HTML Entity Encoder & Decoder
- Encode
- Decode
- Mobile Friendly
- Accessibility Tested
- SEO Optimized
- Fast Loading
- Responsive
Version 1.0.0 ยท Last reviewed
How it worksShow guide
Introduction
Convert characters like <, >, &, and quotes into safe HTML entities โ or decode entities back to readable text.
Step-by-step
- Paste text
- Click Encode or Decode
- Copy the result
Worked example
Encoding `<script>` becomes `<script>`.
Use cases
- Escape user input before inserting into HTML templates
- Decode stored entity strings from CMS exports
- Prepare snippets for documentation or email HTML
Frequently asked questions
Does this escape every Unicode character?
It encodes the characters that matter for HTML markup (&, <, >, quotes). Named and numeric entities are supported when decoding.
Related tools
-
URL Encoder & Decoder
Percent-encode or decode URL components safely in your browser.
-
Base64 Encode / Decode
Encode text to Base64 or decode Base64 back to UTF-8 text in your browser.
-
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, sentence case, camelCase, snake_case, or kebab-case.
Popular tools
-
API Workbench
Browser-native API client โ build or paste cURL requests, inspect responses, manage collections, and store everything in IndexedDB. No backend required.
-
AES Encrypt / Decrypt
Encrypt and decrypt text with AES-GCM or AES-CBC locally. Passphrase (PBKDF2) or raw keys, custom IV/salt, and portable JSON packages.
-
Line Sorter & Deduplicator
Sort lines alphabetically or by length, remove duplicates, and trim empty lines โ locally in your browser.
Was this helpful?
Your feedback stays on this device only โ it is not sent to the Bestrao team yet.