Developer Tools
Number Base Converter
Enter a number in decimal, binary (base 2), octal (base 8), or hexadecimal (base 16) and see all other representations update instantly. Handles both positive and negative integers.
Type a number in any base; all other bases update instantly.
Digits: 0–9
Digits: 0–1
Digits: 0–7
Digits: 0–9, A–F
Features
- Decimal ↔ Binary ↔ Octal ↔ Hexadecimal all live-sync
- Handles negative integers (two's complement display)
- Uppercase and lowercase hex supported
- Groups binary in 4-bit nibbles for readability
- Copy any base value with one click
- Browser-only
How to use it
- Type a number in any base field.
- All other bases update instantly.
- For hex, enter digits 0-9 and A-F (case-insensitive).
- For binary, use only 0 and 1.
- Copy any value with the copy button.
Use cases
- Converting decimal values to binary for bitwise programming
- Reading hex color codes or memory addresses
- Converting between number bases for computer science coursework
- Debugging byte-level data in different representations
Limitations
- Floating-point numbers are not supported, integers only.
- Numbers larger than JavaScript's safe integer range may lose precision.
Related tools
Color Converter
Convert colors between HEX, RGB, HSL, and CSS color names. Enter any color format and see all equivalents instantly. Browser-only, free.
Use toolHash Generator
Generate cryptographic hashes from text in your browser. Supports MD5, SHA-1, SHA-256, and SHA-512. No upload, computed locally using the Web Crypto API.
Use toolBase64 Encode Decode
Encode text to Base64 or decode Base64 to plain text instantly in your browser. Supports standard and URL-safe Base64, Unicode, and binary-safe encoding.
Use toolJSON Formatter
Format and beautify JSON online. Paste minified or messy JSON and get clean, 2-space indented output with syntax validation, instant, in-browser, no upload.
Use toolJSON Validator
Validate JSON syntax online with exact error messages. Get line number, column, and a human-readable explanation for every JSON error, processed in your browser.
Use toolJSON Minifier
Minify JSON by removing all whitespace and line breaks. Paste pretty JSON, get compact JSON for APIs, payloads, and config files. Browser-only, free.
Use toolFrequently asked
What is the maximum number size?
Up to Number.MAX_SAFE_INTEGER (2^53 - 1). For larger values, consider a library with big integer support.