// free-toolBIN ⇄ HEX
Number Base Converter
Four linked fields — binary, octal, decimal, hexadecimal. Type in any one and the other three update as you type. Arbitrary-precision (BigInt) under the hood, so 256-bit values convert exactly.
no signup · no watermark · unlimited use
Frequently asked questions
Is there a size limit on the numbers?
No practical one — conversion uses BigInt, so cryptographic-scale integers (hundreds of digits) convert exactly with no floating-point loss.
Are negative numbers supported?
Yes — a leading minus sign carries across bases (mathematical negation, not two's-complement bit patterns).
More dev & text tools
Base64 Encode
Encode any text to Base64 — Unicode-safe.
Base64 Decode
Decode Base64 back to readable text instantly.
URL Encode
Percent-encode text for safe use in URLs and query strings.
URL Decode
Decode percent-encoded URLs back to readable text.
Text to Hex
Convert text to its hexadecimal byte representation.
Hex to Text
Decode hexadecimal bytes back into readable text.
Need custom tools like this in your product?
I build fast, privacy-first web applications with Next.js — these converters run entirely in the browser, and yours can too.