OneDevTools
All Tools33
Formatter & ValidatorMinifier
Base64 Encoder/DecoderURL Encoder/Decoder
Case ConverterWord CounterLorem Ipsum
UUID GeneratorHash GeneratorTailwind Theme
Unix TimestampNumber Base
Password Generator
CSS MinifierCode to ImageVim Cheat SheetLinux Cheat Sheet
Merge PDFSplit PDFImages to PDFPDF to ImagesRotate PDFPDF Metadata
CSV to JSONJSON to CSVCSV to SQLCSV to MarkdownDuplicate RemoverColumn SplitterEmail ValidatorPrompt RunnerTranslatorBulk Content Generator
Home33 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
OneDevTools

30+ free developer tools. JSON, CSV, PDF, encoding, generators and more. All run locally in your browser — your data never leaves your device.

100% client-side · No sign-up

Popular

  • JSON Formatter
  • Base64 Encoder
  • UUID Generator
  • Password Generator
  • Merge PDF
  • CSV to JSON
  • Case Converter
  • Hash Generator

More Tools

  • JSON Minifier
  • URL Encoder
  • Word Counter
  • Lorem Ipsum
  • Unix Timestamp
  • Number Base
  • CSS Minifier
  • Code to Image
  • Vim Cheat Sheet
  • Linux Cheat Sheet

PDF & CSV

  • Split PDF
  • Images to PDF
  • PDF to Images
  • Rotate PDF
  • PDF Metadata
  • CSV to SQL
  • CSV to Markdown
  • CSV Email Validator

AI Tools

  • CSV Prompt Runner
  • CSV Translator
  • Bulk Content Generator
  • Tailwind Theme Generator

Browse

  • All Tools
  • JSON Tools
  • PDF Tools
  • CSV Tools

© 2026 OneDevTools. All rights reserved.

Built for developers · Privacy-first · No tracking