Base Converter — Binary, Octal, Decimal, Hex | How to use and interpret results
Convert integer digit strings among binary, octal, decimal and hexadecimal. Every digit is checked against the selected input base rather than accepting a valid prefix of malformed text.
- Runs in your browser
- Nothing is uploaded
- No signup; device limits apply
Numbers stay on your device. Nothing is sent to a server.
How to use this tool
Choose both bases and enter the digits. Prefixes such as 0x are not stripped automatically, so hexadecimal input should use FF rather than assuming prefix handling.
Results and examples
Hexadecimal FF becomes decimal 255 or binary 11111111. The result represents the same value and is not automatically padded to an eight- or thirty-two-bit width.
Worked example
Hexadecimal FF becomes decimal 255 or binary 11111111. The result represents the same value and is not automatically padded to an eight- or thirty-two-bit width.
Limitations
- Fixed-width signed interpretation and fractional-base conversion are not provided.
- Integer values must remain within the runtime validation limits.
Fields
| Field | Guidance and constraints |
|---|---|
| Digits | Check the unit and format displayed beside this field. |
| From base | 2 (binary) / 8 (octal) / 10 (decimal) / 16 (hex) |
| To base | 2 (binary) / 8 (octal) / 10 (decimal) / 16 (hex) |
Data handling
Processing stays in the current browser tab; the site does not upload tool input for the calculation itself.
Sources
Frequently asked questions
What is FF in decimal?
Hexadecimal FF becomes decimal 255 or binary 11111111. The result represents the same value and is not automatically padded to an eight- or thirty-two-bit width.
Can I paste 0xFF unchanged?
Fixed-width signed interpretation and fractional-base conversion are not provided. Integer values must remain within the runtime validation limits.
Related tools
You do not need to start over. Continue with the tool that fits your next step.