Developer
Number base converter
Convert numbers between binary, octal, decimal and hexadecimal.
Binary
11111111Octal
377Decimal
255Hex
ffHow it works
1
Enter a number
Type a value in any base — binary, octal, decimal or hex.
2
See every base
The other representations update live as you type.
3
Copy
Copy the base you need for your code or calculation.
Frequent questions
Which bases are supported?
Binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16) — the bases developers reach for most.
Can I convert in both directions?
Yes. Enter a value in any base and the others are computed at once, so there is no separate “from” and “to”.
Explore more tools
JSON validator
Validate, format and minify JSON.
JWT
Decode, inspect and sign JSON Web Tokens.
Regex tester
Test regular expressions live.
Base64
Encode and decode Base64.
Hash generator
Generate SHA-1/256/384/512 hashes.
File checksum verifier
Verify a file against a checksum.
UUID generator
Generate random UUIDs (v4).
Password generator
Generate strong random passwords.