How to use
- Enter text or HTML code.
- Click "Encode" or "Decode".
- Copy the result to use it.
π― Use Cases
- Safely display symbols like < and > inside HTML code
- Attach a code snippet to a forum post or wiki
- Restore the original text from entity-escaped content
Example
Input
<div class="box">ν μ€νΈ & κΈ°νΈ</div>
Output
<div class="box">ν μ€νΈ & κΈ°νΈ</div>
Clicking "Encode" converts the < > & characters into the < > & entities. Double quotes (") are left untouched because they carry no special meaning inside a text node.
FAQ
- Which characters get encoded?
- <, >, &, " and other characters with special meaning in HTML are converted into entities.
- Are numeric references decoded too?
- Yes. Both named references (&) and numeric references (&) are decoded accurately using the browser's built-in parser.
- Is the content I enter sent to a server?
- No. It's processed entirely using browser DOM APIs.
More Coding Tools
π
JSON Formatter
Prettify, validate & minify JSON
ποΈ
Timestamp Converter
Convert Unix timestamp β date
π§©
JSON String Encoder
Convert text β JSON string literal
β¨
JS/CSS Formatter
Indent & tidy JS/CSS code
βοΈ
JS/CSS Minifier
Strip comments & whitespace
π§½
HTML Formatter
Indent HTML by tag structure
π§Ή
XML Formatter
Indent XML by tag structure
ποΈ
SQL Formatter
Break SQL into clauses & indent
π
Excel to HTML Table
Convert spreadsheet data to HTML TABLE
βοΈ
Link Extractor
Extract href/src links from HTML
π¨
Color Picker
Get HEX, RGB & HSL color codes
π
PHP Syntax Checker
Check bracket/string pairing (practical checker)
ποΈ
MySQL Syntax Checker
Check bracket/quote pairing (practical checker)
π
HTML5 Validator
Check tag pairing, duplicate id, missing alt
βοΈ
Online HTML Editor
Write & edit HTML visually