Decimal to Hex
Convert numbers between decimal, binary, octal and hexadecimal bases.
Paste your input on the left and press Translate (or Ctrl/Cmd + Enter) to get the result on the right. Free, no sign-up.
Example
255 4096 18446744073709551615
ff 1000 ffffffffffffffff
Frequently asked questions
- How do I read a binary number?
- Each digit is a power of two, starting from the right. For example 1010 is 8 + 2, which is 10 in decimal.
- What input is accepted?
- Whole numbers of any size, including negatives, one per line. Underscores are ignored and 0b, 0o and 0x prefixes are accepted.