HTML Entity Encoder / Decoder
Encode and decode HTML entities. Convert special characters to their HTML entity equivalents.
Common HTML Entities
Need API access to HTML Entity Encoder / Decoder?
Integrate this tool into your workflow with our REST API. 3 free requests/day, unlimited with Pro.
What is HTML Entity Encoder / Decoder?
Convert special characters like <, >, &, and quotes to their HTML entity equivalents and back. Supports named entities (&, <, ©), decimal entities (©), and hexadecimal entities (©). Includes a reference table of common HTML entities. Essential for web developers working with HTML content. All processing is client-side.
AllKit's HTML Entity Encoder / Decoder is completely free with no signup required. All processing happens directly in your browser — your data is never sent to any server, making it safe for sensitive information.
Why use AllKit?
- No ads, no distractions — a clean interface that lets you focus on the task
- Privacy-first — 100% client-side processing, nothing is uploaded
- Free forever — core tools are free with no usage limits
- API available — integrate into your workflow via our REST API
Frequently Asked Questions
What are HTML entities?▾
HTML entities are special codes used to represent characters that have special meaning in HTML. For example, < becomes < because the browser would otherwise interpret it as the start of an HTML tag. They're also used for characters not on a standard keyboard, like © (©) or € (€).
When do I need to encode HTML entities?▾
Whenever you display user-generated content in HTML, you must encode entities to prevent XSS (Cross-Site Scripting) attacks. Also when including special characters in HTML attributes, or when your content contains characters like <, >, &, or quotes.
What's the difference between named and numeric entities?▾
Named entities use readable names like & or ©. Numeric entities use the character's Unicode code point: & (decimal) or & (hex). Named entities are easier to read, but numeric entities can represent any Unicode character.