Binary / Octal / Decimal / Hex Converter
Convert numbers between binary, octal, decimal, and hexadecimal. Supports huge numbers via BigInt. Handles 0b, 0o, 0x prefixes.
Runs 100% in your browser — nothing is uploaded.
Input base
- Binary
11111111(base 2) - Octal
377(base 8) - Decimal
255 - Hexadecimal
FF(base 16)
Frequently asked
What is the max value?
Any integer that fits in JavaScript BigInt — effectively unlimited. Handles 128-bit values and beyond without loss.
Are prefixes required?
No — the tool strips 0b (binary), 0o (octal), 0x (hex) if present but doesn't require them. Just enter the digits.
Can I convert non-integers?
Not yet — floating-point base conversion is a distinct problem and gets its own tool later.
Related tools
- Hash GeneratorInstantly compute MD5 and SHA-family hashes of any text. All hashing happens in
- Universal Unit ConverterConvert between units across 8 dimensions: length, mass, volume, time, area, dig
- JSON FormatterFormat, validate, and minify JSON in your browser. See parse errors with line/co
- Cron BuilderPick a preset or enter your own fields to build a cron expression. Includes a pl
- CSS Beautifier & MinifierBeautify minified CSS with proper indentation, or minify pretty CSS to a single
- HTML Beautifier & MinifierBeautify minified HTML with proper indentation, or minify pretty HTML for produc