Number Base Converter

Free Number Base Converter online.

Runs in your browser — nothing is uploaded

Nothing is uploaded. Counting happens on your device.

Drop a .txt file here Tap to choose a .txt file

or browse your device — you can also paste (Ctrl+V)

Your camera and gallery open from the file picker

One file at a time. Files over 200 MB may be too large for browser processing.

    Your result will appear here.

    Free, no account, no sign-up. Nothing is uploaded. Everything runs on your device.

    Programmers constantly move between binary, octal, decimal and hexadecimal: flags in binary, file permissions in octal, ordinary counts in decimal, and memory addresses or colour values in hexadecimal. This converter takes a number in one base and returns it in another — 1010 in binary becomes 10 in decimal, and 255 in decimal becomes FF in hexadecimal. Choose the from and to bases, or let a 0x, 0b or 0o prefix set the starting base for you. Digits that do not belong to the chosen base are rejected with a message naming the offending digit, rather than being guessed at. The maths uses arbitrary-precision integers, so long numbers convert exactly instead of losing precision the way floating-point arithmetic would. Everything runs in your browser on your own device, and nothing you type is uploaded or stored.

    How to use Number Base Converter

    1. Paste your text type, paste (Ctrl+V) or drop a .txt file into the box above.
    2. Click Convert the tool runs entirely in your browser — nothing is uploaded.
    3. Read your results they appear below the tool as soon as the conversion finishes.
    4. Download the result save it for your records.
    5. Convert another clear the box and paste new text — no sign-up, no limits.

    Format facts

    InputAny plain text, or a .txt file (dropped or browsed).
    EngineBuilt-in browser engine
    CategoryDeveloper Tools

    Limits

    • Browser processing has practical limits: files over 200 MB (or very long media) may be too large for your device. You will get an honest “too large” message, never a fake result.
    • Pasted content is handled as plain text — formatting from documents is not preserved.

    Frequently asked questions

    Which bases does it convert between?

    Binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16). Choose the from and to bases, or let a 0x, 0b or 0o prefix set the starting base.

    What happens if I type a digit that does not belong to the base?

    The tool rejects the input and names the offending digit — for example, 2 is not a binary digit — instead of guessing what you meant.

    Can it convert very long numbers?

    Yes. The maths uses arbitrary-precision integers, so long numbers convert exactly instead of losing precision the way floating-point arithmetic would.

    Does my number get uploaded anywhere?

    No. The conversion runs entirely in your browser on your own device, so nothing you type leaves the page and is never stored or shared.