Developer

Number Base Converter

Enter a number in any base and instantly see it in binary, octal, decimal and hexadecimal. Input is validated per base and arbitrary-precision via BigInt, so even very large integers convert accurately.

Examples

Input
255 (Dec)
Output
Bin 11111111 · Oct 377 · Hex FF

How to use Number Base Converter

Choose the base
Select whether your input is binary, octal, decimal or hex.
Type the value
Enter the number; invalid digits for the chosen base are flagged.
Copy any result
Each output row has a Copy button for the converted value.

Why use this tool

Converts to all four bases at once
Validates digits against the selected base
Handles huge integers via BigInt — no precision loss
Copy any representation with one click

Frequently asked questions

Yes. Conversions use BigInt, so large integers convert exactly without floating-point rounding.

Yes. Leading 0x, 0b or 0o prefixes are stripped automatically before conversion.

Discussion

Share feedback or ask a question about this tool.

Comments are stored to a moderated queue via the API.