Text Encoding Converter
Convert text to and from hex, binary, octal, decimal, Unicode code points, UTF-16, percent-encoding, punycode, HTML entities, JS escapes, Base32 and QP.
Converter
About this tool
About Text Encoding Converter
One place for all the ways text is written as bytes and codes. Type text to see it in every format at once – UTF-8 hex, binary, octal and decimal bytes, Unicode code points, UTF-16 units, URL percent-encoding, punycode for international domain names, HTML numeric entities, JavaScript/JSON escapes, Base32 and e-mail quoted-printable – or paste encoded data and turn it back into text. Urdu, Arabic and emoji are handled correctly.
How it works
Example
How to use this tool
- Choose the direction and the format.
- Type text or paste encoded data.
- Copy the result, or swap to convert back.
Frequently asked questions
Where is Base64?
Base64 has its own tool – Base64 Encode / Decode.
What is punycode?
The ASCII form of domain names with non-English letters, such as xn--mgbh0fb.xn--kgbechtv for an Arabic domain.
Is my data uploaded?
No. Everything is processed in your browser and stays on your device.
Is my text stored when I use the Text Encoding Converter?
No. The Text Encoding Converter processes your text in your browser. Nothing you type or paste is sent to our server, so it is safe for drafts and private notes.