Antpact Toolbox
中文
Home › Utilities & Developer › Base Converter

Base Converter

Convert between binary, octal, decimal and hex.

Privacy: this tool runs entirely in your browser — files are never uploaded, and data is gone when you close the page.

How to use

  1. Enter a number.
  2. Pick from/to bases.
  3. See the result.

FAQ

Does hex letter case matter?

A–F is case-insensitive on input; output is usually unified to uppercase for readability.

Can it convert negative numbers?

Currently non-negative integers only; negatives involve sign and two's-complement conventions that differ by context.

How do I convert binary to hex quickly?

Group every 4 bits into 1 hex digit (1111 = F); convert directly without going through decimal.

How do I read a hex color like #FF0000?

RRGGBB: each pair is one hex channel for red/green/blue; use the color tool for color work, but the values check out here.

Can it handle decimals or floats?

This version focuses on integers; fractional base conversion is more involved — use a calculator or dedicated tool.

Is octal still used?

Rarely daily, but some systems (e.g. Linux file permissions like 755) and older languages still use octal; watch leading-zero conventions.

About this Base Converter

Standard base conversion for non-negative integers. Local only.