Convert numbers between binary, octal, decimal, hexadecimal and custom bases.
Free online number base converter supporting binary (base 2), octal (base 8), decimal (base 10), hexadecimal (base 16), and custom bases from 2 to 36. Engineered with BigInt support for arbitrary-precision integers of unlimited size, two's complement signed integer calculations across 8-bit, 16-bit, 32-bit, and 64-bit boundaries, interactive bit grid visualization, IEEE 754 single (binary32) and double (binary64) precision float inspection, and batch conversion mode. Runs entirely client-side in your browser with automatic prefix detection for 0x, 0b, and 0o notations.
Keywords: number base converter, binary to decimal converter, hex to decimal converter, decimal to binary converter, octal to hex converter, binary to hex converter, hex to binary converter online, base conversion calculator, binary converter online, hexadecimal converter, radix converter, number system converter, base 2 to base 16, programmer calculator, developer number converter, free online base converter, binary hex octal decimal converter, convert binary to hex, bigint converter, two's complement calculator, IEEE 754 converter, online number converter, number radix conversion, base 10 to base 16 converter, decimal to octal converter, hexadecimal to decimal, binary to octal converter, free base converter tool, number base converter 2026, rapidtables number converter, binaryhexconverter alternative
Tags: binary, octal, decimal, hex, hexadecimal, base, converter, bigint, twos complement, IEEE 754, radix, programmer
Number Base Converter is also known as: Binary to Decimal Converter, Hex to Binary Converter, Decimal to Hex Converter, Two's Complement Calculator, IEEE 754 Floating Point Converter, Programmer Calculator, Radix Base Converter.
Enter a number in the input field on the left — you can type it in decimal, hexadecimal, hex, octal, binary, or custom base format.
The tool auto-detects common prefixes: type '0xFF' for hex, '0b1010' for binary, or '0o377' for octal, or just enter a regular decimal number like '255'.
View instant conversions across all number bases simultaneously: decimal, binary, octal, and hexadecimal in the right panel.
Toggle 'Signed' mode to see two's complement representation for negative numbers across 8-bit, 16-bit, 32-bit, or 64-bit word widths.
Adjust bit width (8, 16, 32, or 64 bits) to see how the number would be stored in different integer types, with visual bit grid representation.
Click on individual bits in the bit grid to toggle them — the value updates in real-time, making it easy to understand binary representation and bitmasks.
Switch to 'IEEE 754' mode to inspect how floating-point numbers are stored as 32-bit single (binary32) or 64-bit double (binary64) precision values, including sign bit, exponent, and mantissa.
Use 'Batch' mode to convert multiple numbers at once by entering one per line with instant tabular conversion.
Copy any individual field value with the 'Copy' button, or use 'Copy All' (⌘⇧C) to copy all conversions at once.
Real-time bidirectional conversion: type in any field and see decimal, binary, octal, hexadecimal, and custom bases update instantly.
BigInt support for arbitrary precision — handles numbers with hundreds of digits without floating-point precision loss.
Auto-detection of standard programming prefixes (0x for hexadecimal, 0b for binary, 0o for octal) for seamless copy-pasting.
Two's complement visualization for signed integers, calculating exact binary masks and boundary overflows for 8, 16, 32, and 64-bit types.
Interactive bit grid: click any bit in the visual array to toggle its state and observe real-time value changes across all radices.
Configurable bit widths: 8-bit (uint8/int8), 16-bit (uint16/int16), 32-bit (uint32/int32), and 64-bit (uint64/int64) architectures.
Endianness toggle (big-endian/little-endian) for analyzing byte ordering in low-level network packets and binary memory dumps.
IEEE 754 floating-point inspector: decomposes floats into sign bit, biased exponent, normalized mantissa/significand, denormals, and NaN/Infinity states.
Custom radix support: convert to and from any positional numeral base between Base 2 and Base 36.
Batch conversion mode: process multi-line lists of memory addresses, hex dumps, or register values in parallel.
Client-side execution: all computations run locally in the browser runtime — zero network overhead, 100% data privacy.
Shareable state: input parameters and options are preserved in URL query parameters for reproducible sharing.
The Number Base Converter supports 5 syntax formats and dialects for accurate parsing and processing.
A comprehensive developer guide to positional numeral systems, arbitrary-precision BigInt radix conversions, two's complement signed arithmetic, and IEEE 754 float inspection.
A comprehensive developer guide to modern web color spaces: understanding OKLCH perceptual uniformity, Display P3 wide gamut, sRGB conversions, and accessible UI palettes.
Master IPv4/IPv6 CIDR notation, subnet mask bitwise math, usable IP ranges, broadcast addresses, and cloud VPC network design for AWS, Docker, and Kubernetes.
Base64 is a binary-to-text encoding algorithm that converts binary data into an ASCII string using 64 printable characters as defined in RFC 4648.
Color spaces define mathematical models for representing and calculating colors across digital displays, including sRGB, HSL, and wide-gamut OKLCH.
Two's complement is the standard binary encoding scheme used by modern computer hardware to represent signed negative and positive integers.
Chain Number Base Converter with other utilities in a multi-step visual workflow.
Decode a Base64 string and pretty-print the JSON inside it.
Convert CSV data to JSON, then to YAML format.
Format JSON and generate TypeScript/Zod schema from it.