Binary, Decimal & Hex Converter

Convert a number between binary, octal, decimal and hexadecimal.

About this tool

Uses BigInt, so very large values stay exact. Prefixes 0x, 0b and 0o are detected automatically and override the button choice.

Related: JSON Formatter & Validator · Base64 Encode & Decode · URL Encoder & Decoder · SHA-256 / SHA-1 Hash Generator · Unix Timestamp Converter