//Tools  ·  /tools/base-convert  ·  v1

What is this? →

Number Base Converter.

Live four-way conversion between binary, octal, decimal, and hexadecimal. Type in any field, read the other three. A BigInt path keeps 256-bit hashes and protocol identifiers exact.

Your input never leaves your browser.

Digit grouping
Hex case

idlepaste a value into any field

What is this?

A live numeric base converter. Type a value in any of the four fields — binary, octal, decimal, hexadecimal — and the other three update as you type. Conversions run locally in your browser using JavaScript’s native parseInt(s, base) and Number.prototype.toString(base), with an automatic BigInt path for values above 2^53 so 256-bit hashes and large protocol identifiers convert exactly.

Reach for it when you’re reading firmware logs, debugging a hex memory dump, decoding a CTF challenge, building intuition for binary at school, or sanity-checking a Unix permission mask. Paste 0xDEADBEEF and the decimal lands in the next field; type a 200-character binary string and the hex form is one click away.

Negative integers and common prefixes (0x, 0b, 0o) are accepted on paste. Fractional values are not — that is a separate IEEE 754 problem.

Read the full explainer →