HTML Entity Encode/Decode
Convert HTML special characters to entities and back
Client-sideNamed EntitiesReal-time
Output will appear here...What are HTML Entities?
HTML entities are special codes used to display reserved characters in HTML. Characters like <, >, &, and " have special meaning in HTML and must be encoded as entities to be displayed literally on a web page. For example, the less-than sign (<) is written as < in HTML source code.
How to Use this Tool
- Select Mode: Choose "Encode" to convert special characters to HTML entities, or "Decode" to convert entities back to characters.
- Enter Your Text: Type or paste your content into the input area. The conversion happens in real-time.
- Copy the Result: Click the copy button to grab the output for your use.
Examples
- Encoding: <p>Hello & World</p> becomes <p>Hello & World</p>
- Decoding: <p>Hello & World</p> becomes <p>Hello & World</p>
Common HTML Entities
| Character | Entity | Description |
|---|---|---|
| & | & | Ampersand |
| < | < | Less than |
| > | > | Greater than |
| " | " | Double quote |
| ' | ' | Single quote |
| / | / | Forward slash |
Important Note:
All processing happens entirely in your browser. No data is sent to any server, making this tool safe for handling sensitive HTML content.
Explore More
Base64 EncodeConvert plain text or binary data into Base64 format instantly.
Base64 DecodeDecode Base64 strings back to readable text or binary data.
URL Encode/DecodeEncode or decode URLs, query strings and special characters.
Hex ↔ ASCIIConvert between hexadecimal and ASCII text representations.
JWT DecodeInspect and verify JSON Web Token payloads and headers.
Hash GeneratorGenerate MD5, SHA-1, SHA-256, SHA-512 hashes from any text.
UUID GeneratorGenerate UUID/GUID v1, v4, and v5 identifiers instantly.
Certificate DecoderParse and inspect SSL/PEM certificates in your browser.
