Number Base Converter

How to Use

  1. Enter your number in the input textarea
  2. Select the original number base from the "From Base" dropdown
  3. Choose the target base from the "To Base" dropdown
  4. Click "Convert" to get instant results
  5. Use "Copy Result" to copy the converted value
  6. Click "Swap Bases" to quickly switch between input/output bases

FAQ

Can I convert between Base64 and other bases?

Yes - select Base64 as either input or output base. Note that Base64 conversion interprets the input as UTF-8 text.

How are hexadecimal letters handled?

Both uppercase and lowercase hex characters are accepted. Outputs are always in uppercase format.

What's the maximum input length?

We support inputs up to 10,000 characters. Very large conversions may take slightly longer to process.

Why am I getting an invalid character error?

This occurs when your input contains characters not valid for the selected base. Verify your input matches the base requirements shown in the Supported Bases section.

Does this support floating-point numbers?

Currently only integer conversions are supported. Floating-point support is planned for future updates.

Supported Bases

  • Binary (2): 0-1
  • Octal (8): 0-7
  • Decimal (10): 0-9
  • Hexadecimal (16): 0-9 and A-F
  • Base64: A-Z, a-z, 0-9, +, /

Conversion Rules

  • Automatic input validation and sanitization
  • Supports both uppercase and lowercase hex
  • Base64 considers input as UTF-8 text
  • Binary/octal/hex numbers auto-detected
  • Maximum input length: 10,000 characters

Common Use Cases

  • Low-level programming
  • Network protocol analysis
  • Data encoding/decoding
  • Digital electronics
  • Cryptography basics
  • System debugging