Number Base Converter
Convert numbers between binary, octal, decimal, hex, base-32, and base-64.
Binary (2)
0b11111111
Octal (8)
0o377
Decimal (10)
255
signed int32: 255
Hexadecimal (16)
0xff
32-bit bytes: 00 00 00 ff
Base-32 (32)
0v7v
Base-64 (64)
0z3undefined
Accepts 0x, 0b, and 0o prefixes and ignores whitespace. Uses BigInt arithmetic, so any size is exact. Signed and byte views apply to 32-bit values only.
//Share this tool
//Related tools
JSON to CSV Converter
Convert JSON arrays to CSV spreadsheets and back. Supports nested data.
JSON to YAML Converter
Convert between JSON and YAML formats with comments preserved.
Markdown to HTML Converter
Convert Markdown to clean HTML with live preview and GFM support.
Color Converter
Convert colors between HEX, RGB, HSL, HSV, and CMYK formats.
Convert numbers between binary, octal, decimal, hexadecimal, base-32, and base-64. See 32-bit byte breakdowns and signed integer interpretations.
[x]Features
- -Convert between bases 2, 8, 10, 16, 32, and 64
- -Accepts 0x, 0b, and 0o prefixes and whitespace
- -32-bit byte view for hexadecimal values
- -Signed int32 interpretation for decimal
- -One-click copy for every result
- -Runs entirely in your browser
>Use Cases
- >Reading hex color codes and bit flags in decimal
- >Converting memory addresses and offsets
- >Decoding binary protocol fields
- >Preparing literals for different programming languages