Encoding
AvailableURL Encoder/Decoder
Encode or decode values for safe use in URLs.
Convert special HTML characters to and from entities.
Enter text to convert to HTML entities locally.
Conversion output appears here.
Read-only output remains selectable and can be copied manually.
Encoding converts HTML-sensitive characters to entities. Decoding recognizes common named entities plus decimal and hexadecimal numeric entities.
Input: 0 characters · 0 B · 0 lines
Output: 0 characters · 0 B · 0 lines
Encoded entities: 0
Decoded entities: 0
Encoding converts &, <, >, double quotes, and apostrophes. Decoding supports common named entities, including &, <, >, ", and ', plus decimal and hexadecimal numeric entities such as < and <.
Unknown or malformed entities are kept as entered. Your text never leaves your browser: conversion, copying, and downloads all happen locally.
The tool encodes ampersands, angle brackets, double quotes, and apostrophes so they can be represented safely as HTML entities.
Yes. Decimal entities such as < and hexadecimal entities such as < are decoded when they represent valid Unicode code points.
Unknown or malformed entities are left unchanged, so the tool does not silently alter input it cannot recognize.
No. The conversion changes only recognized HTML entities and preserves other characters, whitespace, line breaks, and case.
Use it when literal text needs to be shown safely inside HTML markup, or when entity-filled copied source needs to become readable text.
The literal text <strong> becomes <strong> so it can be displayed rather than interpreted as a tag.
Entity encoding helps represent text in HTML; it is not a complete solution for untrusted HTML or script-safety policies.
Encoding
AvailableEncode or decode values for safe use in URLs.
Encoding
AvailableConvert Unicode characters, escapes, and code points.
Encoding
AvailableTranslate text between ASCII characters and numeric codes.