Free online number base converter. Supports binary/octal/decimal/hexadecimal conversion with bit operations and bit visualization.
TL;DR: Free advanced number base converter supporting any base from 2 to 36, floating-point conversion, and IEEE 754 representation, runs locally.
For local tools, open DevTools → Network and search your input — it should not appear in requests.
Usage Guide
Hex debugging, binary bit operations, octal permission codes — converting between the decimal world and other bases by hand is slow and error-prone. This tool converts between binary / octal / decimal / hexadecimal with byte and bit views plus common bitwise operations, all local.
1. How to use
- Enter a number and select source base (auto-detects 0x / 0b / 0o prefixes).
- Results display in all four bases simultaneously with byte/bit views.
- For bitwise operations, enter operand and operator to trace the computation step by step.
2. Everyday conversion scenarios
- Hex protocol debugging (Modbus, TCP, serial): a packet segment 0x4A 61 is the ASCII for "Ja".
- Permission codes: 755 is octal; 0o755 = binary 111 101 101 — each 3-bit group is one user class permission set.
- Color value math: CSS #FF8040 is hex; decimal 16744512 is used for in-program comparison.
- Bitmask design: use binary view for flag bits (0x01 read, 0x02 write, 0x04 execute) at a glance.
3. Negative numbers and large values
Negative number conversion is a classic pitfall: -1 as two's complement is 0xFFFFFFFF in 32-bit unsigned view. Language output varies — some print -1, some 4294967295, depending on signed vs unsigned interpretation. This tool offers explicit endianness and word-size options (32/64-bit, big/little endian) to cross-check protocol documentation. During cross-language integration, confirm the bit-level representation here first, then write both ends — it avoids the "same logic, different results" debugging nightmare.
FAQ
None. Conversions and bitwise operations run locally — your values never leave the device. Treat the output as an aid for understanding and debugging, not as a replacement for real cryptographic tooling.
The advanced version converts between any base from 2 to 36 (the basic one covers only 2/8/10/16) and adds floating-point conversion with IEEE 754 display, bitwise operation results, and ASCII/Unicode code point conversion for more involved debugging scenarios.
Yes. Decimals convert between bases (decimal 3.14 into binary, for example) with the IEEE 754 floating-point representation shown alongside. Cross-base conversion of floating-point values can lose precision, so trust what the target environment actually produces.
Three come up constantly: do not mix 0x/0b prefixes; keep signedness and bit width in mind, since they change how the same value reads; and endianness affects the byte order of multi-byte values — confirm it before matching a dump.
Hexadecimal debugging, working through binary bitwise operations, converting octal permission codes, and copying whichever representation you need into your debugging notes.
Related Tools
Related Articles
Online Number Base Converter: Bases 2–36 and Large Integers
Use an online number base converter for binary, octal, decimal, hex, and any radix 2–36. Covers BigInt-safe large integers, batch conversion, letter case, and common pitfalls.
Base64 vs Base64URL: Padding, JWT Segments, and PEM Line Wraps
Standard Base64 and Base64URL differ in alphabet and padding. Learn how JWT’s three segments use Base64URL, why PEM wraps at 64 characters, and how to stop decode failures when tools disagree.
Complete Guide to HTTP API Testing: From Basics to Advanced Debugging Techniques
Master the core skills of HTTP API testing, including GET/POST/PUT/DELETE requests, header configuration, request body formats, authentication methods, and debugging techniques. Boost your development efficiency with an online API testing tool.