OneDevTools
All Tools31
  • Formatter & Validator
  • Minifier
  • Base64 Encoder/Decoder
  • URL Encoder/Decoder
  • Case Converter
  • Word Counter
  • Lorem Ipsum
  • UUID Generator
  • Hash Generator
  • Tailwind Theme Generator
  • Unix Timestamp
  • Number Base
  • Password Generator
  • CSS Minifier
  • Code to Image
  • Merge PDF
  • Split PDF
  • Images to PDF
  • PDF to Images
  • Rotate PDF
  • PDF Metadata
  • CSV to JSON
  • JSON to CSV
  • CSV to SQL
  • CSV to Markdown Table
  • CSV Duplicate Remover
  • CSV Column Splitter
  • CSV Email Validator
  • CSV Prompt Runner
  • CSV Translator
  • CSV Bulk Content Generator
Home31 tools
  1. Home
  2. Converters
  3. Number Base

Number Base Converter

Convert numbers between Decimal, Binary, Octal, and Hexadecimal. Edit any field to convert all others.

Base 10
0bBase 2
0oBase 8
0xBase 16

Number Base Conversion Guide

Computers store and process numbers in binary (base 2), but we typically work with decimal (base 10). Hexadecimal (base 16) and octal (base 8) are common in computing as compact representations of binary values. This tool lets you instantly convert between all four bases — just type in any field and the rest update automatically.

Number System Reference

SystemBaseDigitsExample
Decimal100–9255
Binary20–111111111
Octal80–7377
Hexadecimal160–9, A–FFF

Where Each Base Is Used

Binary (Base 2)

The native language of all computers. CPU instructions, memory addresses, and network data are binary at the hardware level.

Octal (Base 8)

Unix/Linux file permissions (chmod 755), legacy PDP systems, and some assembly languages use octal for compactness.

Hexadecimal (Base 16)

CSS colors (#FF5733), memory addresses, RGB values, SHA hashes, and bytecode are all expressed in hex.

Decimal (Base 10)

Human-readable number system used in most programming languages for integer literals and user-facing number display.

Related Tools

Unix Timestamp ConverterHash GeneratorJSON Formatter