Free Online Number Base Converter
Number base conversion rewrites the same value in different bases — binary, octal, decimal, hex, or any radix between 2 and 36.
Your data is processed entirely in your browser and never sent to any server.
How to Use This Developer Tool
- Type a value into any of the binary, octal, decimal, or hex fields.
- The other fields update live with the same value in their base.
- Use the custom base field for anything from base 2 to base 36.
- Click any Copy button to grab a specific representation.
What Is a Number Base Converter?
Different bases suit different jobs: binary for bit-level masking, hex for memory addresses and CSS colour codes, decimal for human input, octal for traditional Unix file permissions (`chmod 755`). The values themselves are identical — only the textual representation changes between bases.
The converter shows all four common bases side by side and updates them live as you edit any field. A custom radix input covers everything between base 2 and base 36 (base 36 uses 0–9 and A–Z), which is the largest you can express with single ASCII characters. Useful for debugging packed flag fields, decoding a colour hex code into RGB integers, or just checking the binary representation of a tricky integer.
Frequently Asked Questions
What bases are supported?
How do I convert decimal to binary?
What about negative numbers?
Published by the WeGotEveryTool team. We build and test every tool in-house and update pages when the underlying spec, formula, or recommendation changes.
Reviewed: May 2026. Disclaimer: this tool is provided as-is for general informational use. For decisions with material consequences (medical, legal, financial, security) verify results against a qualified professional source.
Related Developer Tools
Generate UUIDs (Universally Unique Identifiers). Create v4 random UUIDs for IDs and keys.
Generate ULIDs (Universally Unique Lexicographically Sortable Identifiers). Time-sortable unique IDs.
Generate MD5, SHA-1, SHA-256, and other hashes. Hash text and files for checksums and integrity.
Test regular expressions against sample text. See matches, groups, and debug patterns in real-time.