Unix Timestamp Converter
Convert Unix epoch timestamps in seconds, milliseconds, or nanoseconds to dates in any time zone, and dates back to timestamps.
Convert numbers between binary, octal, decimal, hexadecimal, and any base up to 36, with two's complement and a bit editor. Free, private, and 100% in your browser.
Click a bit to flip it. Bit 7 is on the left.
As a Unicode code point: U+00FFÿ
Developers move between number systems all the time: hex in memory dumps and color codes, binary in bit flags and permissions, octal in Unix file modes, and decimal everywhere else. Enter a number in any base to see it in all of them.
Decimal 255
Hexadecimal 0xFF
Binary 0b1111_1111
Octal 0o377Type in the decimal, hex, binary, octal, or custom-base field and the others update as you type.
Uses arbitrary-precision integers (BigInt), so 64-bit, 128-bit, and even larger numbers convert exactly.
See negative numbers as 8, 16, 32, 64, or 128-bit patterns, and read any bit pattern as signed or unsigned.
Click individual bits to flip them, which is handy for flags, masks, and register values.
Accepts 0x, 0b, and 0o prefixes, # for hex, and digit separators like 1111_0000 or 1,000,000.
Convert to base 3, base 32, base 36, or any other base, using digits 0-9 and letters a-z.
Multiply each bit by 2 raised to its position, counting from 0 on the right, and add the results. For 1011: 1×8 + 0×4 + 1×2 + 1×1 = 11. Type the number in the Binary field to see it instantly.
Each hex digit is exactly four bits, so a byte is always two hex digits (00-FF). That makes hex a compact, readable way to write memory addresses, colors (#FF8800), byte values, and bit masks.
It is how computers store negative integers: invert all bits of the positive value and add 1. In 8 bits, -1 is 11111111 (0xFF) and -128 is 10000000. The same bit pattern can be read as signed or unsigned, which the tool shows side by side.
No, this tool converts integers. Floating-point values use a separate encoding (IEEE 754) with a sign, exponent, and mantissa.
Convert Unix epoch timestamps in seconds, milliseconds, or nanoseconds to dates in any time zone, and dates back to timestamps.
Compare the time in UTC and cities around the world side by side, with a 24-hour timeline and daylight saving info.
Beautify, minify, and validate JSON instantly with exact line and column error reporting.
Compare two JSON documents side by side and see every added, removed, and changed value.