Utils
Text Diff
Timestamp Converter
URL Parser
Cryptography/Security
Password Generator
Encode
Base64 encode
HTML entity encode
URL encode
Decode
Base64 decode
HTML entity decode
JWT decode
URL decode
Format/Validate
CSS
Graphql
HTML
Javascript/JSX
JSON
JSON5
Less
Markdown
SCSS
Typescript/TSX
XML
YAML
About
Contribute
Dev Tools
HTML Entity Encode
Convert text within a string to
entities
for safe use within HTML or XML by encoding special characters. See also
HTML Entity Decode
.
Options
Use named references (e.g. " instead of ")
Use decimal encoding (e.g. © instead of ©)
Encode everything
Only encode non-ASCII
Input (HTML - raw):
Output (HTML - entity encoded):
Clear
Copy
Output copied to clipboard