Convert text to binary or hexadecimal UTF-8 bytes and decode them back to text, instantly in your browser.
Updated
/ 5 - Be the first to rate this tool Thanks for rating!
Verification failed - please try again.
Quick check
Please verify you're not a robot to submit your rating.
Give feedback
Tell us what you think about Convert text to binary or hex and back.
- Runs entirely in your browser — your text is never sent to a server
- UTF-8 aware — accented characters and emoji round-trip correctly
- Free, no account required
How it works
-
1
Paste the text, code, or token you want to encode or decode.
-
2
Conversion happens instantly as you type.
-
3
Review the result, including any decoded structure.
-
4
Copy the result to your clipboard.
Why use this tool
Every dev utility, one place
Format, convert, encode, decode, and generate — no more juggling ten tabs.
100% private, always
Every tool runs in your browser — your code and data are never sent anywhere.
Works on any device
Runs on Windows, Mac, Linux, iOS, and Android — nothing to install.
Instant results
No queues, no build step — results update as you type.
Built to handle real data
Full Unicode support and RFC-compliant parsing, edge cases included.
Free, always
Free to use, with no rate limits, sign-up, or trial period.
Frequently asked questions
Text is first encoded as UTF-8 bytes, and each byte is shown as an 8-bit group separated by spaces.
UTF-8 uses one byte for basic ASCII and two to four bytes for accented letters, other scripts, and emoji.
Space-separated 8-bit binary groups, or space-separated two-digit hex bytes in upper or lower case.
No. All conversion happens in your browser.
From the blog
Reading a JWT Without Trusting It: Claims, Expiry, and the Signature Trap
Decoding a JWT takes a second. Verifying one is a different job entirely — and confusing the two is how auth bugs ship. Here is how to read a token safely while you debug.
Mastering Base64: What It Is, How It Works, and When Not to Use It
Base64 is everywhere in modern web development, from data URIs to authentication headers. Here is a deep dive into how it works and common pitfalls to avoid.
Demystifying JSON: How to Troubleshoot Common Parsing Errors
JSON is the backbone of web APIs, but syntax mistakes can halt your code. Here is how to identify and fix missing commas, unescaped strings, and trailing characters.
Recently viewed
Validate JSON against a JSON Schema
Paste a JSON document and a JSON Schema to see every validation error with its instance path. Supports draft 2020-12 and draft-07, entirely in your browser.
Convert .env to JSON and JSON to .env
Convert .env files to a JSON object and flat JSON back to .env, handling quoted values, export prefixes and comments. Runs entirely in your browser, so secrets never leave it.
Bcrypt Hash Generator and Verifier
Generate bcrypt password hashes with cost 4 to 15 and verify a password against an existing hash. Hashing runs in your browser, so passwords are never sent to a server.
Related tools
Base64 encode or decode text online
Convert text to and from Base64 instantly in your browser, with full Unicode support.
Encode or decode ROT13 and Caesar cipher text
Shift letters by any amount, including the classic ROT13, instantly in your browser.
Encode or decode HTML entities online
Convert text to and from HTML entities instantly in your browser.
Decode a JWT online
Paste a JSON Web Token to instantly view its decoded header and payload in your browser.
Build and sign a JWT online
Build and HMAC-SHA256-sign a JWT from a header, payload, and secret, instantly in your browser.
Encode or decode a Punycode domain
Convert an internationalized domain name to and from its Punycode (xn--) form, in your browser.
Compare two texts and see the differences
Paste two blocks of text to see every added and removed line highlighted, instantly in your browser.
Convert a Unix timestamp to a date
Convert a Unix timestamp to a human-readable date, or a date back to a timestamp, in your browser.
Convert TOML to JSON and JSON to TOML
Convert TOML config files to pretty JSON and JSON back to TOML, with tables, arrays of tables and dates. Parse errors show the line number, entirely in your browser.
Resize an image to X (Twitter) post size for free
Fit or fill an image to the 1200×675 X (Twitter) post size, with drag-to-reposition and zoom, right in your browser.
Parse a User-Agent string online
Paste a browser User-Agent string to see its browser, operating system, and device type, in your browser.
Inspect every Unicode character in your text
See code points, UTF-8 bytes, UTF-16 units, HTML entities, escapes and categories for each character, and find hidden invisible characters.