Text & Dev Tools

Number Base Converter

Convert between binary, octal, decimal, hex, and any base from 2 to 36. All fields update simultaneously.

Examples:
Decimal base 10
Binary base 2 0b
Octal base 8 0o
Hexadecimal base 16 0x

Bit Visualizer

Custom Base

Base
Base
0
Bits Needed
Power of 2?
Signed (8-bit)
ASCII Char
Runs in your browser
No data sent to server
100% free forever
Quick Reference

Powers of 2

Power Decimal Hex Binary
20111
24161010000
271288010000000
282561001 00000000
2101024400100 00000000
21665536100001 00000000 00000000
23242949672961 00000000(33 bits)

Common Bitmask Values

Name Dec Hex Binary
Max signed byte1277F01111111
Max unsigned byte255FF11111111
Max unsigned 16-bit65535FFFF16 × 1
Unix permission rwx77111

Related Tools