Skip to main content
FreeFormatHub
Calculator

Number Base Converter

Convert numbers between different bases (binary, octal, decimal, hexadecimal, and more). Supports bases 2-36 with validation, digit grouping, and batch processing.

Number Input

Syntax: text
Current Settings:
Input Base: 10 (Valid digits: 0123456789)
Output: All common bases (2, 8, 10, 16)
Format: With prefixesGrouped

Converted Numbers

Output will appear here

Format: text

How It Works

Input Your Data

Paste, type, or upload your data directly into the number base converter. All processing happens locally in your browser for complete privacy and security.

Configure Options

Customize the tool settings to match your specific needs. Real-time processing with instant validation and error detection.

Process Instantly

Click the process button or enable auto-processing for real-time results. Lightning-fast performance with immediate feedback and validation.

Export Results

Copy results to clipboard, download as files, or share with others. Multiple export formats available for maximum compatibility.

Frequently Asked Questions

What number bases are supported?
The tool supports all bases from 2 (binary) to 36 (using digits 0-9 and letters A-Z). Common bases include binary (2), octal (8), decimal (10), and hexadecimal (16).
How do I specify the input base?
Use standard prefixes like 0b for binary, 0x for hex, 0o for octal, or the format "base r value" (e.g., "2r1010"). You can also set the input base in options.
What is digit grouping?
Digit grouping adds spaces to make long numbers more readable, like "1010 1010" for binary or "FF FF" for hex. This is especially useful for large numbers.
Can I convert negative numbers?
Yes, the tool handles negative numbers by converting the absolute value and preserving the negative sign in all output bases.
What's the maximum number size?
The tool can handle numbers up to JavaScript's MAX_SAFE_INTEGER (2^53 - 1) for accurate conversion. Larger numbers may lose precision.