Number Base Converter Online — Binary Hex Decimal

Convert integers between bases 2 and 36 with BigInt precision. Optional big-endian or little-endian byte grouping for hex and binary output.

Loading…
Number base converter — developer notes
Convert integers across bases 2–36 with BigInt. Optional big-endian / little-endian byte grouping for hex and binary output.

How conversion works

Enter a value in the input base (digits A–Z case-insensitive). Convert to the output base — letters are uppercase for bases above 10. Byte endianness applies only when the output base is 2 or 16: the absolute value is padded to whole bytes and grouped (spaces). Otherwise endianness is ignored.

Options

Input base (2–36)
How to interpret the typed digits. Presets cover binary, octal, decimal, and hex; other bases are available in the list.
Output base (2–36)
Target radix for the result. Default is hexadecimal for common debug workflows.
Byte endianness (none / BE / LE)
None prints raw digits (including a leading minus for negatives). BE/LE group padded bytes for hex or binary on non-negative values only — useful for masks and memory dumps. Disabled for other output bases.

Examples

Decimal → hex

Input

255 (base 10 → 16)

Output

FF

Decimal → hex LE bytes

Input

258 (base 10 → 16, LE)

Output

02 01

Related utilities

Encode binary-ish text with Base64, or explore bits via the regex tester for pattern masks.

Number base converter FAQ

Radix conversion questions

Why BigInt?

JavaScript Number loses precision above 2^53−1. BigInt keeps large integers exact for hex dumps and masks.

Are floats supported?

No — integers only. Fractions and IEEE floats are out of scope for this tool.

When does endianness apply?

Only for output bases 2 and 16. Other bases always print raw digits.

Is my value uploaded?

Never — conversion runs in your browser.

More developer utilities in this cluster

Looking for converters, encoders, formatters, and minifiers in one place? Developer tools hub Open the curated developer tools catalogue.