Unix timestamp converter
Convert Unix seconds, milliseconds and ISO dates with explicit timezones. See UTC, local time and negative timestamps with reproducible examples.
Developer toolsConvert exact integers between binary, octal, decimal and hexadecimal. Preserve large values, handle negatives and check valid digits locally.
Ready when you are.
Using the default settings. You can try the same input in the workspace.
255
FF
Enter an integer without a base prefix, choose From and To, then select Run tool. A leading minus sign is accepted; output uses uppercase hexadecimal digits without prefixes or leading zeros.
Uses BigInt for exact integers, up to 10,000 digits excluding a leading minus sign. No fractions, separators, explicit plus signs or fixed-width two’s-complement conversion.
Yes. BigInt preserves integers exactly, with up to 10,000 digits excluding a leading minus sign. Choose the input base explicitly; fractions and prefixes such as 0x are not accepted.
No. This tool processes your input in your browser. We don't store your text, files or results. Standard website access logs are separate; read our privacy notes.
Yes. No account, subscription or usage credits are required.
Use Copy or Download after running the tool. Inputs are not saved automatically and disappear when you leave or refresh the page.
Decimal 255 becomes binary 11111111, octal 377 or hexadecimal FF. Set From to Hexadecimal to convert ff back to decimal 255; hexadecimal input is case-insensitive. Leading zeros are not preserved: decimal 000255 also becomes FF.
Decimal 9007199254740993 converts to hexadecimal 20000000000001 and back exactly. The conversion accumulates digits using BigInt rather than JavaScript Number, so it does not lose precision above Number.MAX_SAFE_INTEGER. The input limit is 10,000 digits, not a promise of instant processing for every maximum-size value.
Decimal -255 converts to hexadecimal -FF or binary -11111111. This is signed mathematical notation, not an 8-, 16- or 32-bit two’s-complement representation. The tool does not choose a bit width, add padding, reinterpret bytes or change endianness. Negative zero normalizes to 0.
Binary accepts only 0 and 1; octal 0–7; decimal 0–9; hexadecimal 0–9 and A–F. Remove prefixes such as 0x, 0b or 0o and choose the base explicitly. Values such as 102 in binary, 1.5, +12, 1_000 and 1,000 are rejected. Outer whitespace is trimmed; spaces inside a number are not accepted.
Choose the representation you need: inspect a timestamp and its UTC instant, count calendar days or convert an integer’s base. Copy a value before switching tools; no input is transferred automatically. Base conversion changes notation, not timestamp units.
Method references: JavaScript Date, timestamps and UTC and BigInt exact integer arithmetic.
Choose the right developer tools workflow before combining tools.
Something not right? Report a problem with this tool. Include the steps, but never passwords or private input.
Convert Unix seconds, milliseconds and ISO dates with explicit timezones. See UTC, local time and negative timestamps with reproducible examples.
Developer toolsFormat JSON without rounding large numbers. Edit values, copy paths, compare documents and inspect a searchable tree locally in your browser.
Developer toolsEncode Unicode text as standard Base64 or decode it as UTF-8. Check emoji examples, padding and invalid text locally in your browser.
Developer tools