Base Converter
Base converter for binary, octal, decimal, and hexadecimal numbers with automatic 0b/0o/0x prefix detection, instant linked updates, and bitwise debugging workflows.
Binary
Octal
Decimal
Hexadecimal
Quick Start
Common Scenarios
Programming & debugging
quickly convert constants, bit masks, and flags
Permission bits
relate Unix permissions (octal 755) to binary/decimal
Networking & protocols
inspect/verify hexadecimal fields in frames
Bitwise learning
observe how shifts and AND/OR/NOT affect representations
Registers/bitfields
decompose and compose flag bits (e.g., 0xA5 → switches), handy for embedded and protocol debugging
Conversion Parameters & Range
Usage Advice
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/fractions are not supported; results are treated as unsigned. Example: 8‑bit 0xFF is 255 unsigned, −1 if interpreted as signed 8‑bit
Copy returns plain values. Prefixes are tolerated on input only in the matching field; add 0b/0o/0x in code if needed