The Number Base Converter is a free online tool. Convert a number between any two bases from 2 to 36, including binary, octal, decimal and hexadecimal, with no size limit. It runs in your browser, needs no sign-up and shows the result as you type.

What is the Number Base Converter?
Number systems differ only in their base: binary uses 2 digits, octal 8, decimal 10 and hexadecimal 16. Computers work in binary, and hex and octal are compact ways to write it.
The Number Base Converter converts the value with positional notation, which is the same method used in textbooks, and returns the answer instantly.
This tool asks for 3 inputs: Number, From base (2-36) and To base (2-36). Developer utilities are most useful when they are one click away and private. This tool runs locally in your browser, so tokens, payloads and code snippets are not sent anywhere.
What each input means
- Number takes short text. The sample is ff.
- From base (2-36) takes a number. Decimals are allowed, and a clear message appears if the entry is not valid. The sample value is 16.
- To base (2-36) takes a number. Decimals are allowed, and a clear message appears if the entry is not valid. The sample value is 2.
How to use the Number Base Converter
- Enter Number. The sample value is ff.
- Enter From base (2-36). The sample value is 16.
- Enter To base (2-36). The sample value is 2.
- Review the result. It updates as you type, or press Run to refresh it.
- Copy the result or download it as a text file, or press Reset to start again.
Example with real values
With the pre-filled values (Number = ff; From base (2-36) = 16; To base (2-36) = 2), the tool returns the following.
| Input (base 16) | ff |
| Result (base 2) | 11111111 |
| Binary | 11111111 |
| Octal | 377 |
| Decimal | 255 |
| Hexadecimal | ff |
Change any input and the output updates straight away, so you can try your own numbers or text and compare the results.
Understanding the result
The result is shown as a table of 6 rows, including Input (base 16), Result (base 2), Binary, Octal, Decimal and Hexadecimal. Each row comes from the same inputs, so changing one value refreshes the whole table. Use the copy button to take all the rows with you.
When to use it
- Studying computer science and digital electronics
- Reading memory addresses and colour codes
- Working with permissions and bit flags
- Checking homework answers
- Debugging low-level code
How people use developer tools
These are typical situations where someone reaches for a tool in this category.
- A freelancer converts data between formats for a client without writing a script.
- A developer debugs an API response and needs to read or reformat the payload quickly.
- A student learns how encoding, hashing or number bases work by trying inputs.
Tips for better results
- Group binary digits in fours to read hex quickly.
- Remember that each hex digit equals four bits.
- Check the input only uses valid digits for its base.
Common mistakes to avoid
- Typing a digit that does not exist in the base, such as 2 in binary.
- Forgetting leading zeros in fixed-width values.
- Mixing upper and lower case hex confusingly.
Terms worth knowing
- Hash. A fixed-length fingerprint of some input.
- Encoding. Rewriting data in another representation so it can travel safely.
- Parser. Software that reads a format and checks its rules.
- Checksum. A small value used to detect changes in data.
Online tool vs doing it by hand
Command-line utilities are powerful, but they differ by operating system. A web tool behaves the same on every device.
Quick checklist before you rely on the result
- Check that Number is typed in the form the tool expects, with no stray spaces or symbols.
- Run the sample values once so you know what a correct result looks like.
- Change one input at a time to see which value moves the answer most.
- Keep a copy of the input and the result if you need to show your working later.
Accuracy, privacy and limits
Everything you enter is processed in your browser and is not uploaded to our servers. It follows common standards, but edge cases such as huge inputs or unusual encodings depend on your browser. Test critical output in your own environment before shipping.
Number Base Converter FAQs
How does the conversion work?
Each digit is multiplied by a power of the base and the results are added.
Is there a size limit?
Very large numbers are supported up to browser limits.
Are negative numbers supported?
Enter the magnitude and add the sign yourself.
Is the Number Base Converter free?
Yes. It is completely free, with no sign-up, no limits on use and no watermark.
Does it work on mobile?
Yes. The page is responsive and works in modern mobile and desktop browsers.
What do I need to enter in the Number Base Converter?
You will be asked for Number, From base (2-36) and To base (2-36). Sample values are pre-filled so you can see a working result before you type your own.