In short
To convert a number between bases, type it in decimal (255), hex (0xff), binary (0b11111111) or octal (0o377) and read it in every base at once. Arbitrarily large integers are supported, so 64-bit IDs and hashes convert without losing precision.
How to use the Number Base Converter
- 1Paste or type your input in the left box (or click "Try an example").
- 2Adjust the options if needed. The result updates as you type.
- 3Copy the result or download it as a file.
Prefixes
0x marks hexadecimal, 0b binary and 0o octal, the same notation used by JavaScript, Python and most modern languages.
Frequently asked questions
Are negative numbers supported?
Yes, with a leading minus sign.
What about fractions?
Only whole numbers are supported.
Is my data sent anywhere?
No. Everything runs in your browser. What you paste is never uploaded, logged or stored, so it's safe for code, tokens and private content.
Last updated

