Number Base Converter
Convert numbers between binary, octal, decimal, and hexadecimal. Supports custom bases from 2 to 36. Upload a file for batch conversion. Runs in your browser.
Drop files here or click to browse
Select File
About This Tool
How to Use
- 1Select the source base (binary, octal, decimal, or hexadecimal).
- 2Select the target base you want to convert to.
- 3Enter a number in the source base, or upload a .txt file with one number per line.
- 4Click "Process" to convert.
- 5For single numbers, you get all four base representations automatically.
When to Use
- •When converting between decimal and hexadecimal for color codes or memory addresses.
- •When working with binary data in programming or networking.
- •When converting octal file permissions in Unix/Linux systems.
- •When studying number systems in computer science courses.
Tips & Tricks
- ✨Hexadecimal digits use A-F for values 10-15.
- ✨Prefixes like 0x (hex), 0b (binary), and 0o (octal) are automatically stripped.
- ✨For a single number, the tool shows all four base representations for convenience.
- ✨Upload a text file to batch-convert a list of numbers.
Frequently Asked Questions
The tool supports binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16). These cover the most common number systems used in computing and mathematics.
The tool uses JavaScript standard number type, which can accurately represent integers up to 2^53 - 1 (about 9 quadrillion). For most practical purposes, this is more than sufficient.
No. All conversions happen in your browser using JavaScript built-in number parsing and formatting functions.
Related Tools
Base64 Text Encoder / Decoder
Encode plain text to Base64 or decode Base64 back to text. Supports UTF-8 characters. Upload a file or enter text directly. Runs entirely in your browser.
Unit Converter
Convert between units of length, weight, temperature, area, volume, speed, and data storage. Upload a text file with values or use the settings panel. Pure JavaScript — no server needed.
Color Converter
Convert colors between HEX, RGB, and HSL formats instantly. Enter a color in any format and get all three representations. Runs in your browser with pure JavaScript.