Hex ↔ String Converter
Convert text to hexadecimal and hex back to readable text, UTF-8 aware.
Enter a number and pick its base to see it in binary, octal, decimal and hexadecimal at once, plus any custom base from 2 to 36. Conversions use BigInt, so even very large numbers stay exact.
Enter a value, pick its base
Converts as you type, with exact arbitrary-precision arithmetic.
Binary, octal, decimal, hex — plus your custom base.
Large integers convert exactly — no floating-point rounding. Custom bases 2–36 use digits 0–9 then a–z.
Input
255 (decimal) Output
binary: 11111111
octal: 377
hex: ff These buttons share the page link, not your input.
Your current input will be stored in the link after the # symbol, not uploaded to Handy Browser Tools. Anyone with this link can read that text. If you send or post it, the service you choose also receives the link. Do not include passwords or private information.
Any base from 2 to 36 in both directions. Binary, octal, decimal and hexadecimal are shown automatically, and the custom base field covers everything in between (digits 0-9 then a-z).
Yes. Conversions run on JavaScript BigInt, so there is no 2^53 precision limit. 40-digit numbers convert exactly. Negative numbers and a leading 0x/0o/0b prefix are accepted too.
Yes. Spaces and underscores are ignored, so grouped binary or long hex values paste cleanly.
No. Every conversion happens locally in your browser; nothing is uploaded.
Convert text to hexadecimal and hex back to readable text, UTF-8 aware.
Convert between wei, gwei and ether with exact BigInt precision.
Generate MD5, SHA-1, SHA-256 and SHA-512 hashes from text online.