Binary / Hex / Decimal Converter
Convert numbers between binary, octal, decimal and hexadecimal.
Binary (2)
Octal (8)
Decimal (10)
Hexadecimal (16)
Supports 0b, 0o and 0x prefixes on input regardless of the selected base. Negative values and values up to JavaScript's safe integer limit (253−1) are supported.
How to use Binary / Hex / Decimal Converter
Enter a value, choose the source base, then click Convert.
About this tool
Enter a value in any base and see its representation in binary, octal, decimal, and hexadecimal simultaneously. Accepts 0b, 0o and 0x prefixes.
Related tools
Base64 Encoder / Decoder
Encode text to Base64 or decode Base64 back to text — UTF-8 safe.
Open Tool →
JSON Formatter & Validator
Format, minify and validate JSON with clear syntax error messages.
Open Tool →
URL Encoder / Decoder
Encode or decode URL components safely with full UTF-8 support.
Open Tool →
HTML Entity Encoder / Decoder
Encode < > & and quotes to HTML entities, or decode entities back to…
Open Tool →
UUID Generator
Generate cryptographically secure v4 UUIDs.
Open Tool →
Unix Timestamp Converter
Convert between Unix timestamps and human-readable dates.
Open Tool →