Convert Text & Codes
Text to binary, hex, octal, decimal codes, U+ code points or Unicode escapes, and back, or one straight to another
Runs on your device
How to use Convert Text & Codes
Type or paste your text into the box, or press Sample to see an example.
Set the options: “From” and “Convert to”. Reset puts them back.
The result updates as you go. Copy it or download it.
About Convert Text & Codes
Text to binary, hex, octal, decimal codes, U+ code points or Unicode escapes, and back, or one straight to another.
Convert Text & Codes: common questions
Is Convert Text & Codes free?
Yes. There's no sign-up, no limit on how often you use it and no watermark.
Is your text uploaded anywhere?
No. Convert Text & Codes works on this device only, so your text stays private. You can even turn off the internet once the page is open.
What can I change?
9 settings, including “From” and “Convert to”. Every setting has a sensible default, and Reset puts them all back.
Does it work on a phone?
Yes, in any current browser on Android, iPhone, iPad and desktop.
More developer tools
- Regex TesterTest a regular expression with live matches and groups
- Regex LibraryReady-made patterns for emails, URLs, dates and more
- Regex EscapeEscape text so it matches literally in a regex, for JavaScript, Python, PCRE, Go or POSIX
- Regex SplitterSplit text wherever a pattern matches, keeping or dropping the separators
- Regex Match ExtractorList every match of a pattern, one group or all groups, as lines, a table, CSV or JSON
- Diff CheckerCompare text, JSON or code side by side
- JWT DecoderDecode the header and claims, see when it runs out, and check the signature (HS, RS, PS, ES, EdDSA)
- JWT GeneratorSign a JWT with a shared secret (HS) or a private key (RS, PS, ES, EdDSA)
- Base64 EncoderEncode text as Base64 (UTF-8 safe), URL-safe or as a data URL
- Base64 DecoderDecode Base64 (standard or URL-safe) back to text, hex or a file; data URLs too
- File to Base64Turn any file into Base64 or a data URL
- Base64 to FileTurn Base64 or a data URL back into a file; the type is recognised from its first bytes