Type a number, say which base it is in, and see it in binary, octal, decimal and hexadecimal at the same time, plus any other base from 2 to 36. Very long numbers stay exact. If you type a digit that does not belong in the base, the page points to it. For negative numbers you also get the 8, 16, 32 and 64-bit two's complement patterns.
A minus sign and 0b, 0o or 0x prefixes are fine. Spaces and underscores are ignored.
Binary and hex in fours, octal and decimal in threes
FF instead of ff
Every calculation runs in your browser. What you type never leaves this device.
Binary, octal, decimal and hex side by side
Any base from 2 to 36, in and out
No size limit worth worrying about: up to 2,000 digits, exact
Negative numbers with a minus sign
Accepts 0b, 0o and 0x prefixes, spaces and underscores
Clear error naming the wrong digit and its position
Optional digit grouping and upper-case letters
Two's complement in 8, 16, 32 and 64 bits for negative values
Check number-system conversions from Class 11 computer science, BCA, B.Tech and GATE practice.
Turn hex colour or memory values into decimal, read bit masks in binary, or check how a negative int is stored.
Convert register values and port settings between hex and binary while working with microcontrollers.
Write large numbers compactly in base 36 using 0-9 and a-z.
In base 10 each place is worth ten times the one to its right. In base 2 each place is worth twice as much: 1011 in binary is 1×8 + 0×4 + 1×2 + 1×1 = 11. Bases above 10 use letters for the extra digits, so in hex A = 10 and F = 15, and FF = 15×16 + 15 = 255.
Written by hand, a negative number just takes a minus sign (−1010 in binary is −10). Computers store fixed-width integers in two's complement instead: flip every bit of the positive value and add 1. In 8 bits, −1 is 11111111 and −128 is 10000000. The converter shows these patterns for any negative value that fits.
Convert colours between HEX, RGB and HSL with the colour converter, and Unix timestamps with the timestamp converter.
Color Converter
Convert color formats
Timestamp Converter
Convert Unix timestamps
Hash Generator
Generate MD5, SHA hashes
Base64 Encoder/Decoder
Encode and decode Base64
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.