Base converter — binary, octal, decimal and hexadecimal
Convert an integer between decimal, binary, octal, hexadecimal, base 32 and base 36, then copy the representation you need.
Runs in your browser — your input is not uploaded to ToolsNow.
11111111377255FF7V73How to use
- Enter the integer. For example, enter 255. Spaces and underscores are ignored; fractional values are not supported.
- Choose its input base. With Decimal selected, 255 becomes FF in hexadecimal and 11111111 in binary. A prefix such as 0x is removed, but does not select the base for you.
- Copy a result. Each base has its own copy button; Copy result collects all the representations.
Questions
How can I check a binary value?
Read powers of two from right to left. Binary 1010 is 1×8 + 0×4 + 1×2 + 0×1 = 10 in decimal.
Why is a digit rejected?
The input base determines which digits are allowed. Binary accepts only 0 and 1; hexadecimal accepts 0–9 and A–F. Letters are case-insensitive, so ff and FF both mean 255 in base 16.
Can I convert a very large ID?
This converter uses ordinary JavaScript numbers, not arbitrary-precision integers. Values whose magnitude exceeds 9,007,199,254,740,991 may be rounded even if a result appears. Do not use it to preserve larger numeric IDs exactly.
Published by ToolsNow. How tools and sources are checked · Report a problem