Free HTML Entity Encoder
Encode special characters to HTML entities and vice versa. Free, fast, and works entirely in your browser with no sign-up required.
HTML Entity Encoder/Decoder
Encode special characters to HTML entities or decode entities back. Supports named, numeric, and hex entities with auto-detection, bulk processing, and live preview.
Encoding Options
Input
Output
HTML Entity Reference
| Char | Named | Decimal | Hex | Description | Actions |
|---|---|---|---|---|---|
| & | & | & | & | Ampersand | |
| < | < | < | < | Less than | |
| > | > | > | > | Greater than | |
| " | " | " | " | Double quote | |
| ' | — | ' | ' | Single quote / Apostrophe | |
| |   |   | Non-breaking space | ||
| © | © | © | © | Copyright | |
| ® | ® | ® | ® | Registered trademark | |
| ™ | ™ | ™ | ™ | Trademark | |
| € | € | € | € | Euro sign | |
| £ | £ | £ | £ | Pound sign | |
| ¥ | ¥ | ¥ | ¥ | Yen sign | |
| ¢ | ¢ | ¢ | ¢ | Cent sign | |
| ¤ | ¤ | ¤ | ¤ | Currency sign | |
| ° | ° | ° | ° | Degree sign | |
| ± | ± | ± | ± | Plus-minus | |
| × | × | × | × | Multiplication | |
| ÷ | ÷ | ÷ | ÷ | Division | |
| ≠ | ≠ | ≠ | ≠ | Not equal | |
| ≤ | ≤ | ≤ | ≤ | Less than or equal | |
| ≥ | ≥ | ≥ | ≥ | Greater than or equal | |
| ¼ | ¼ | ¼ | ¼ | One quarter | |
| ½ | ½ | ½ | ½ | One half | |
| ¾ | ¾ | ¾ | ¾ | Three quarters | |
| √ | √ | √ | √ | Square root | |
| ∞ | ∞ | ∞ | ∞ | Infinity | |
| § | § | § | § | Section sign | |
| ¶ | ¶ | ¶ | ¶ | Paragraph | |
| • | • | • | • | Bullet | |
| … | … | … | … | Horizontal ellipsis | |
| – | – | – | – | En dash | |
| — | — | — | — | Em dash | |
| ‘ | ‘ | ‘ | ‘ | Left single quote | |
| ’ | ’ | ’ | ’ | Right single quote | |
| “ | “ | “ | “ | Left double quote | |
| ” | ” | ” | ” | Right double quote | |
| « | « | « | « | Left guillemet | |
| » | » | » | » | Right guillemet | |
| ← | ← | ← | ← | Left arrow | |
| → | → | → | → | Right arrow | |
| ↑ | ↑ | ↑ | ↑ | Up arrow | |
| ↓ | ↓ | ↓ | ↓ | Down arrow | |
| ↔ | ↔ | ↔ | ↔ | Left-right arrow | |
| ↵ | ↵ | ↵ | ↵ | Carriage return | |
| ♠ | ♠ | ♠ | ♠ | Black spade | |
| ♣ | ♣ | ♣ | ♣ | Black club | |
| ♥ | ♥ | ♥ | ♥ | Black heart | |
| ♦ | ♦ | ♦ | ♦ | Black diamond | |
| À | À | À | À | A with grave | |
| Á | Á | Á | Á | A with acute |
Showing 50 of 58 entities
About HTML Entity Encoder
HTML entities are special codes used to represent characters that have special meaning in HTML or characters that cannot be typed on a keyboard. Conversion happens in real-time as you type.
Entity Formats:
- Named: Uses readable names like
&,<,© - Decimal: Uses Unicode code points like
&,< - Hex: Uses hexadecimal code points like
&,<
Selective Encoding Modes:
- Special Only: Encodes only HTML-significant chars (& < > " ')
- Non-ASCII: Also encodes characters with code points above 127
- All Symbols: Encodes all non-alphanumeric characters
- Custom: Specify exactly which additional characters to encode
Features:
- Auto-detection of encode/decode mode from pasted content
- Bulk processing for multiple strings (one per line)
- Live HTML preview showing rendered output
- Operation history saved to localStorage
- Code snippets in HTML, JavaScript, PHP, and Python
Privacy First: All encoding/decoding happens locally in your browser. No data is sent to any server.
Related Tools
Frequently Asked Questions
What is the HTML Entity Encoder?
The HTML Entity Encoder is a free online tool that converts special characters to their HTML entity equivalents and decodes entities back to characters.
Is the HTML Entity Encoder free?
Yes, it is completely free with no registration required. All encoding happens client-side in your browser.
Why do I need HTML entities?
HTML entities prevent special characters like <, >, and & from being interpreted as HTML code, ensuring they display correctly on web pages.
Is my data safe with this tool?
Absolutely. The HTML Entity Encoder processes everything client-side in your browser. No data is uploaded to or stored on any server. Your content remains private on your device at all times.
Does the HTML Entity Encoder work on mobile devices?
Yes, the HTML Entity Encoder is fully responsive and works on smartphones and tablets. You can use it on any device with a modern web browser -- no app download required.
Do I need to create an account to use this tool?
No account or registration is needed. Simply open the HTML Entity Encoder in your browser and start using it immediately. There are no sign-up walls or usage restrictions.
How do I use the HTML Entity Encoder?
Simply enter your input in the provided field, adjust any settings to your preference, and the tool will process it instantly. You can then copy the result to your clipboard or download it.
Which browsers are supported?
The HTML Entity Encoder works in all modern browsers including Chrome, Firefox, Safari, Edge, and Opera. For the best experience, use the latest version of your preferred browser.
Related Tools
Free CSS Minifier Online
Minify CSS code to reduce file size and improve loading speed. Free, fast, and works entirely in your browser with no sign-up required.
Free JavaScript Minifier
Minify JavaScript code to reduce file size and improve performance. Free, fast, and works entirely in your browser with no sign-up required.
Free HTML Minifier Online
Minify HTML code to reduce page size and loading time. Free, fast, and works entirely in your browser with no sign-up required.
Free SQL Formatter & Beautifier
Format and beautify SQL queries for better readability. Free, fast, and works entirely in your browser with no sign-up required.
About Free HTML Entity Encoder
Free HTML Entity Encoder is a free, browser-based tool in our Code Tools collection. Everything runs locally on your device — no uploads, no sign-up, and your data stays private.