• Omnilude ToolsCollection of Online Tools
  • Home
Online Tools
  • Developer Tools
    • UUID Generator
    • Timestamp Converter
    • Encoder/Decoder
    • Color Picker
    • Regex Tester
    • Data Converter
    • Hash Generator
    • Cron Expression
    • Naming Convention
    • JWT Debugger
    • Browser Info
    • Number Base
    • Meta Tag Generator
    • Password
  • Text Tools
  • Useful Tools
  • Time Tools
  • Calculator Tools

Number Base

Binary/Octal/Decimal/Hex conversion

Binary
11111111
Octal
377
Decimal
255
Hexadecimal
FF
7
6
5
4
3
2
1
0
1
1
1
1
1
1
1
1
1111
1111
DecimalBinaryOctalHexadecimal
0000000
1000111
2001022
3001133
4010044
5010155
6011066
7011177
81000108
91001119
10101012A
11101113B
12110014C
13110115D
14111016E
15111117F

Number Base Conversion Guide

Binary (Base-2)

Uses only 0 and 1. This is the fundamental representation method in computers.

Hexadecimal (Base-16)

Uses 0-9 and A-F. Used for color codes, memory addresses, etc.

Two's Complement

Method to represent negative numbers. If MSB is 1, the number is negative.

What is the Number Base Converter?

A tool that converts between binary (base 2), octal (base 8), decimal (base 10), and hexadecimal (base 16) number systems. Supports bit pattern visualization, signed/unsigned integer modes, and various bit sizes (8/16/32/64 bit) for use in programming, hardware design, and network analysis.

  • Real-time conversion among binary, octal, decimal, and hexadecimal
  • 8bit, 16bit, 32bit, and 64bit size options
  • Signed-integer (two's-complement) mode
  • Individual bit inspection with bit-pattern visualization
  • Base-conversion reference table (0–15)

How to Use

  1. 1

    Choose the Settings

    Set the input base (2/8/10/16), bit size (8/16/32/64bit), and signed mode.

  2. 2

    Enter a Value

    Enter a number in the selected base. A hexadecimal value may include A–F.

  3. 3

    Review the Conversions

    As you type, the converted values appear in every base: binary, octal, decimal, and hexadecimal.

  4. 4

    Analyze the Bit Pattern

    Use the bit-pattern visualization to inspect each bit's 0/1 value and analyze bitwise-operation results.

Frequently Asked Questions

A signed integer represents negative numbers using two's complement. If the most significant bit (MSB) is 1, the value is negative. For example, in 8bit, 0xFF is 255 when unsigned and -1 when signed.

In addition to 0–9, hexadecimal uses A(10), B(11), C(12), D(13), E(14), and F(15) to represent values from 10 to 15 in one digit. Letters are case-insensitive.

The bit size determines the range of representable numbers. 8bit can represent 0–255 unsigned or -128–127 signed, while 16bit can represent up to 0–65535 unsigned. Exceeding the range causes overflow.

Octal is mainly used for Unix/Linux file permissions. For example, chmod 755 means rwxr-xr-x, with each digit representing 3 permission bits for read, write, and execute.

Hexadecimal is widely used throughout computer science for memory addresses, color codes (#FF0000), MAC addresses, binary-data representation, network-packet analysis, and more.

Tips & Best Practices

  • A CSS color code (#RGB) represents red, green, and blue with 2 hexadecimal digits each
  • Use the bit-pattern visualization during bitmask operations to inspect the state of each bit
  • When calculating a network subnet mask, convert it to binary to distinguish the network and host portions
  • Use signed-integer mode to inspect two's-complement representation and debug overflow bugs
  • Use the base-conversion reference table to check basic conversions from 0 to 15 quickly

Omnilude Tools

A free collection of online tools for developers, designers, and creators. All data is processed locally in your browser.

Developer Tools

  • UUID Generator
  • Timestamp Converter
  • Encoder/Decoder
  • Color Picker

Text Tools

  • JSON Editor
  • Text Compare
  • Text Counter
  • Markdown

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 Omnilude. All rights reserved.