← Free online tools

Developer conversion tools

Binary Converter

Convert integers between binary, decimal, hexadecimal and octal, with two's complement bits for negative numbers and an ASCII reference table.

Client-side conversion

The calculator runs in your browser and keeps entered values local to the page.

ASCII Quick Reference

CharDecHexBinaryCharDecHexBinary
Space322000100000!332100100001
04830001100009573900111001
A654101000001Z905A01011010
a976101100001z1227A01111010
\n10A00001010\t9900001001
@644001000000#352300100011
$362400100100%372500100101
&382600100110*422A00101010

Base conversion

Move between base 2, base 8, base 10, and base 16 without manual arithmetic.

Signed integers

Check negative values with two's complement bit patterns.

ASCII reference

Look up the decimal, hex and binary codes of common ASCII characters.

Number Base Reference

Binary

Binary uses digits 0 and 1. Each position represents a power of two, which maps directly to bits in memory and protocols.

Hexadecimal

Hex uses digits 0-9 and A-F. One hex digit represents four bits, so it is compact for byte values and memory addresses.

Octal

Octal uses digits 0-7 and still appears in Unix permissions, where modes such as 755 map to read, write, and execute flags.

Validation

Invalid digits are rejected for the selected base, so decimal-only, hex-only, and binary-only inputs stay clear.

FAQ

Which number bases are supported?

Binary, octal, decimal and hexadecimal integers of any size (0x, 0b and 0o prefixes are accepted). Negative numbers are also shown as two's complement bits. An ASCII reference table is included; text conversion is not.

Does the conversion happen locally?

Yes. Values are converted in your browser and are not sent to a server.

What is two's complement?

Two's complement is the standard binary representation for signed integers. It makes addition and subtraction work consistently for negative values.

Can I use this for programming and debugging?

Yes. It is useful for bit masks, color values, file permissions, protocol debugging, and checking base conversions while coding.

Related Tools

loresync tools includes 160 free online tools.