integer converter

Number Base Converter

Convert signed integers between binary, octal, decimal, and hex using the same no-precision-loss parser as the API.

bases: auto, 2, 8, 10, 16

Input integer

Spaces and underscores are ignored; signs and 0b, 0o, 0x prefixes are accepted.

waiting
6 compact charshex candidate
Input base

Samples

load a valid case
accepts 0 through 9 and A through F; output always includes bases 2, 8, 10, and 16

Converted values

waiting

Enter an integer to convert

Results appear as decimal, binary, octal, and hex with grouped display values and raw copy buttons.

copyable summary
Decimal, binary, octal, and hex summary appears here.
selected autosigned integers only
Related tools and guides