Number Base Converter
What are number bases?
A number base (or radix) determines how many unique digits are used to represent numbers. Decimal (base 10) is what humans use daily; binary (base 2) is how computers store data at the hardware level; hexadecimal (base 16) is a compact way to represent binary data, commonly seen in color codes and memory addresses; octal (base 8) appears in some Unix file permission notations.
When would I use this?
- Converting a hexadecimal color code or memory address to decimal for calculations.
- Understanding what a binary flag or bitmask value looks like in decimal or hex.
- Converting a Unix file permission octal value (like 755) to see it in another base.
How it works
Conversion uses JavaScript's built-in number parsing and formatting for each base, entirely in your browser. Type a number into any field and the others update instantly.
Frequently asked questions
Related tools
Cron Builder
Build cron expressions visually or decode existing ones into plain English.
Timestamp Converter
Convert Unix timestamps to human-readable dates and back.
SQL Formatter
Format and beautify messy SQL queries instantly.
JSON Formatter
Format, validate, and beautify JSON instantly in your browser.