Base Convert
Bin / oct / dec / hex conversion.
A free number-base converter between binary, octal, decimal and hexadecimal. It auto-detects and ignores 0x / 0o / 0b prefixes and validates that the digits are legal for the chosen base. It runs entirely in your browser.
How to use
- Pick the base of your input number (e.g. hexadecimal).
- Enter the number (an optional 0x / 0o / 0b prefix is accepted).
- Choose the target base, then read and copy the result.
FAQ
- Which bases and prefixes are supported?
- Binary, octal, decimal and hexadecimal in any direction; the input may include a 0x (hex), 0o (octal) or 0b (binary) prefix, which is stripped before parsing.
- Can it convert very large numbers?
- Conversion uses JavaScript numbers, whose safe integer limit is about 2^53. Extremely large integers beyond that may lose precision — use a dedicated big-integer tool for those.
- Is anything uploaded?
- No, the conversion is entirely local.
Related tools
- Currency Converter — Convert across 160+ currencies at live rates with a quick-reference table; rates fetched + cached server-side.
- Percentage — Percentages, increase / decrease.
- Unit Convert — Length, weight, temperature & more.
- Date Diff — Days between two dates.
- Request Echo — See what the server actually received: every header, the real IP, the proxy chain.
- HTTP Testbed — Return any status, delay, redirect or payload size to exercise client retry and timeout logic.