Utill.net

Number Base Converter

Binary, Hex & More

Convert numbers between decimal, hexadecimal, octal, and binary with prefixed outputs you can copy instantly.

What is this tool?

This number base converter translates integers between base 10, base 16, base 8, and base 2. These bases show up constantly in programming: decimal for human-facing quantities, hexadecimal for bytes and memory values, octal for permissions, and binary for flags.

The converter parses the input as an integer in the selected radix and renders equivalent values with familiar prefixes: 0x for hex, 0o for octal, and 0b for binary. It is not intended for floating-point conversion, signed integer overflow analysis, or IEEE 754 bit inspection.

Use it when checking masks, protocol values, permissions, color channels, or constants that move between human-readable and machine-oriented notation.

How to use

  1. Choose the base of the input value: decimal, hexadecimal, octal, or binary.
  2. Enter an integer. Common prefixes such as 0x, 0o, and 0b are accepted.
  3. Read the converted values in all four supported bases.
  4. Copy the representation you need for code, documentation, permissions, or debugging.

Examples

Input / settingOutputNotes
255 decimaldecimal 255; hex 0xff; octal 0o377; binary 0b11111111A full 8-bit byte.
0b1010 binarydecimal 10; hex 0xa; octal 0o12; binary 0b1010A small bit-mask style value.
755 octaldecimal 493; hex 0x1ed; octal 0o755; binary 0b111101101Common Unix permission notation.

Related tools & concepts

Last reviewed: 2026-05-08