Number Base Converter

Getting Started

  1. Type or paste your number into the input box above
  2. Pick what base your number is currently in from the first dropdown
  3. Choose what base you want to convert it to from the second dropdown
  4. Hit the "Convert" button and you're done!
  5. Click "Copy Result" if you need to use the converted number somewhere else
  6. Use "Swap Bases" to quickly flip your input and output bases around

Quick Questions

Can I work with Base64 here?

Absolutely! Just pick Base64 from either dropdown. Keep in mind it treats your input as regular text when converting.

What about uppercase vs lowercase hex?

Both work fine for input - type however you want. The results will always come out in uppercase though.

How long can my numbers be?

You can go up to 10,000 characters. Really big numbers might take a second or two to crunch, but they'll work.

Why does it say "invalid character"?

Usually means you've got a character that doesn't belong in that base. Double-check what you typed against the valid characters listed below.

What about decimal numbers?

Right now it's whole numbers only. Decimal point support is on the todo list for later updates.

What Each Base Uses

  • Binary (2): Just 0s and 1s
  • Octal (8): Digits 0 through 7
  • Decimal (10): Regular numbers 0-9
  • Hexadecimal (16): 0-9 plus letters A through F
  • Base64: Letters, numbers, plus + and / symbols

How It Works

  • Automatically checks if your input makes sense
  • Doesn't care if you use CAPS or lowercase for hex
  • Treats Base64 input like regular text
  • Smart enough to figure out most number formats
  • Handles really long numbers (up to 10K characters)

Why You'd Use This

  • Programming in assembly or embedded systems
  • Debugging network packets and protocols
  • Converting between text and encoded data
  • Working with digital circuits and logic
  • Basic crypto and encoding stuff
  • Troubleshooting system-level issues