Skip to main content
matte

Base Converter

Binary, octal, decimal, hex — and any base.

Runs in your browser

About

Base Converter converts a number between any two bases from 2 to 36 — not just the usual binary, octal, decimal, and hex — using exact BigInt arithmetic so large values don't lose precision the way floating-point conversion would. A bit-grid visualizer shows the binary representation, and a live reference table lists the same value in every common base at once. Runs entirely in your browser with no size limit beyond what BigInt itself can hold.

Frequently asked

Does it lose precision on very large numbers?
No — conversions use BigInt arithmetic internally, avoiding the precision loss that JavaScript's regular numbers hit above about 2^53.
Can I convert to bases other than binary, octal, and hex?
Yes, any base from 2 to 36 is supported via a custom base picker, not just the three common ones.