Integer base converter
Converts the same number between decimal, hexadecimal, binary, octal and even base64 — useful when debugging bitwise logic and protocol fields.
Convert a number between different bases (decimal, hexadecimal, binary, octal, base64, ...)
Steps and notes
What is Integer base converter?
Convert an integer between decimal, hexadecimal, binary, octal, base64 and more — paste once, see every base at once. Indispensable when reading flags and masks (0x1F), permission bits, colour channels or wire protocols where the same number keeps changing costume.
- Enter the number in any of the base fields
- The other bases update automatically
- Copy the result you need from its field
- This converts numbers, not text. To convert text, use "Text to ASCII Binary" instead
Frequently asked questions
- Why do programmers keep switching bases?
- Because each base answers a different question: hex maps 1:1 to 4 bits (flags, memory addresses), binary shows individual bits, octal survives in Unix permissions. The number never changes — only the view.
- How does base64 fit in here if it is not a number base?
- Base64 encodes bytes as text; when your input is a small integer, its byte pattern can be shown as base64 characters. For full text-to-base64 you want the dedicated Base64 tools — this one is for numbers.
- Are negative numbers and decimals supported?
- The converter targets integers. Negative and fractional values behave differently in each base and encoding, so use the math evaluator or a language runtime when those matter.
Category: Converter
Numbers & numerals workflow
Integer base converter → Roman numeral converter → RMB amount in Chinese uppercase → ASCII table