Convert a number between binary, octal, decimal and hexadecimal at the same time, plus any base from 2 to 36. Type in one field and every other representation updates live — handy for debugging bitmasks, memory addresses and colour values.
A UUID identifies a record — never use it as an authentication token.
Math.random() is predictable. Use the CSPRNG for tokens, IDs and secrets.
Decoding is not verifying. Always validate the signature and claims on the server.
Generate keys here, then store them in environment variables or a vault.
Convert a number between binary, octal, decimal and hexadecimal at the same time, plus any base from 2 to 36. Type in one field and every other representation updates live — handy for debugging bitmasks, memory addresses and colour values.
Type a number in any field — decimal, binary, hex and the rest update instantly.
Prefixes such as 0x, 0b and 0o are understood for hex, binary and octal.
Each representation has its own copy button.
| Decimal | Hex | Binary |
|---|---|---|
| 255 | ff | 11111111 |
| 1024 | 400 | 10000000000 |
| 65535 | ffff | 1111111111111111 |
0xff, 255 and 11111111 are three ways of writing the same value.
It is completely free, private and requires no signup.
Use the tool nowOne hex digit maps to exactly four bits, so a byte is always two characters — far more compact than binary and easier to read.
Any base up to 36 can be written with the digits 0-9 and letters a-z. Base 36 uses all of them.
Yes. A leading minus sign is carried across all bases. For two’s complement bit patterns, convert the absolute value and invert manually.
Explore the whole collection — no signup, 100% free & private.