How It Works
Enter Your Text
Type or paste text with special characters, or paste HTML entities to decode.
Choose Direction
Toggle between Encode and Decode to convert in either direction.
Preview & Copy
See the HTML preview in real-time and copy the result with one click.
Frequently Asked Questions
What are HTML entities?
What are the most common HTML entities?
Why do I need to encode HTML?
What is the difference between named and numeric entities?
How does HTML encoding prevent XSS attacks?
About HTML Entities
What this tool does
Encoder and decoder tools convert data between Base64, URL-encoded, HTML entities, ROT13, Morse code, binary, hex, and JWT formats. They handle both encoding (plain to encoded) and decoding (encoded back to plain).
Why use this tool
Web developers constantly encounter encoded data in APIs, URLs, tokens, and configuration files. Being able to decode a JWT payload or Base64 string instantly saves round-trips to the terminal or Stack Overflow.
How it works
Each tool applies a specific encoding algorithm to your input bytes. Base64 maps every 3 bytes to 4 ASCII characters. URL encoding escapes special characters with percent-hex pairs. JWT decoding splits the token at dots and Base64-decodes each segment.
Pro tip
When debugging JWTs, always check the "exp" (expiration) claim first. Most authentication bugs come from expired tokens, and the decoded timestamp is easy to overlook.
Explore More
Love this tool? Explore 12467+ more
Free online tools for images, PDFs, text, code, and more. All running in your browser.
Explore All Tools