Base Converter
Base converter for non-negative binary, octal, decimal, and hexadecimal integers with BigInt precision, matching-field 0b/0o/0x input tolerance, linked updates, and plain-value copy.
Binary
Octal
Decimal
Hexadecimal
Quick Start
Common Scenarios
Programming & debugging
quickly convert integer constants, bit masks, and flag values between common bases
Permission bits
relate Unix permissions (octal 755) to binary/decimal
Networking & protocols
convert copied numeric fields such as 0xA5, without parsing packets, byte order, or frame structure
Bit pattern learning
compare the same unsigned integer across binary, octal, decimal, and hex before doing bitwise work elsewhere
Registers/bitfields
inspect the binary and hex representation of unsigned values from datasheets, without a bitfield editor or width setting
Conversion Parameters & Range
Base Conversion Boundaries
Usage Advice
URL Quick Fill
Limitations & Compatibility
Privacy & Security
FAQ
0x is accepted only in the Hex field. Paste it there, or remove the prefix and type in the target base. Binary and octal accept 0b/0o respectively; copy returns plain values
Separators are not supported. Use contiguous digits; remove spaces/underscores before pasting
Outputs are normalized for readability. If you need fixed width, add zeros manually
Negatives and fractions are not supported. Results are unsigned; for example, 0xFF converts to 255, and interpreting it as -1 requires an external 8-bit signed context.
Copy returns plain values. Prefixes are tolerated on input only in the matching field; add 0b/0o/0x in code if needed