HTML Entity Encoder / Decoder
Encode special HTML characters into entities (& < >) or decode them back to readable text — display code safely and neutralize injection vectors. Code never leaves your device — formatting and validation run locally in your browser.
How to Use the HTML Entity Encoder / Decoder
Similar Tools You Might Need
See allBase64 Encode/Decode
Encodes UTF-8 text into Base64 strings and decodes them back. Emoji and non-Latin scripts round-trip, and ten local schemes cover URLs, HTML entities, hex, binary and escapes. Code never leaves your device.
Encoder / Decoder
Encode or decode text using Base64, Base64URL, URL encoding, HTML entities, Hex, Binary, ROT13, UTF-8, and Unicode escape schemes.
URL Encoder / Decoder
Encode or decode URLs with percent-encoding. Swaps input/output for quick bidirectional conversion. Code never leaves your device — formatting and validation run locally in your browser.
Text ↔ Binary Converter
Convert between plain text and binary in both directions — encode text into its base-2 representation or decode binary strings back to readable text, byte by byte. Files are converted locally in your browser — nothing is uploaded.
PDF to Word
Extracts PDF text into a Word-readable .doc file (HTML-based), one paragraph per detected line. Tables, columns, images, and the original layout are not preserved — review complex documents after conversion.
Frequently Asked Questions
When do I need entities?
Displaying code or angle brackets inside HTML without the browser parsing them.
Named or numeric?
Named (&) for readability, numeric (&) for maximum compatibility.
Does it prevent XSS?
Encoding user input neutralizes injection — a core output-escaping defense.
Is my work uploaded anywhere when using HTML Entity Encoder?
No — encoding runs locally in your browser, free with no signup.
Related Developer Tools
Random Port Generator
Generate random TCP/UDP port numbers from well-known, registered, or dynamic ranges. Useful for network testing, Docker port mapping, and firewall configuration.
Chmod Calculator
Convert between numeric (755) and symbolic (u=rwx,g=rx,o=rx) chmod permission formats. See detailed breakdown for owner, group, and others.
Docker Run to Compose Converter
Convert docker run commands to docker-compose.yml format. Supports ports, volumes, environment variables, networks, restart policies, and container names.
Email Normalizer
Normalize email addresses by lowercasing and trimming, with Gmail-specific dot removal and +tag stripping. Process multiple emails at once, with format and disposable-domain checks.
Diff Checker
Compares two input texts side-by-side, highlighting inserted, deleted, and changed lines with distinct background colors. Code never leaves your device — formatting and validation run locally in your browser.
IP Address Lookup
Look up a pasted IPv4 or IPv6 address for city, country, ISP, ASN and timezone. Leave the field empty to resolve your own public IP. Useful for checking VPN egress; the queried address goes to ipapi.co.
Last updated October 2026