Epoch Converter
Epoch time, read as a date and back again.
FREE - NO SIGN-UP - RUNS ON YOUR DEVICE
Values stay in this browser tab
- Bothseconds and millis
- UTCand local, together
- 2directions
- Freeno account needed
Epoch Converter at a glance
- What you enter
- An epoch value, or a date
- What you get
- UTC, local time and both units
- Direction
- Both directions, one panel
- Local time
- From your device time zone
- Copying
- One summary to copy
- Price
- Free
- Account required
- No
- Where it runs
- Runs locally in your browser
How to use Epoch Converter
- 1
Paste the value
Paste the epoch value.
- 2
Check the unit
Switch units if the date looks off.
- 3
Take the reading
Read UTC or local time.
Frequently asked questions
What does an epoch value mean on its own?
It is a count of seconds or milliseconds, with no time zone attached. A time zone only enters when it is displayed, which is why UTC and local time are shown side by side.
How do I tell seconds from milliseconds?
Try one and read the date. A value taken in the wrong unit lands far from where you expected, and switching the unit puts it back in range.
Can I convert a date to an epoch value?
Yes. The same panel goes the other way: set the date and read epoch seconds and milliseconds off it.
Do the values I paste leave my device?
No. Everything is worked out in the current browser tab. Nothing is sent to a server and nothing is kept after the tab closes.
Where epoch values turn up
Epoch values arrive in exports, logs and API responses. Drop one in to see it as UTC and as local time, or set a date to get the epoch value back.
- Database columns, log lines and API responses often store an instant as an epoch value because it is a single number.
- Quote UTC when the reading has to match across machines, and local time when it has to match someone's day.
- The copied summary keeps the unit and both readings together, so the context is not lost in a paste.
Full specification
| What you enter | An epoch value in seconds or milliseconds, or a date if you are going the other way. |
|---|---|
| What you get | The same instant as UTC, as local time, and as epoch seconds and milliseconds. |
| Direction | Timestamp-to-date and date-to-timestamp are on the same panel. |
| Local time | Taken from the time zone your device is set to. |
| Copying | Copy result puts the readings shown into your clipboard as one summary. |
| Price | Free |
| Account required | No |
| Where it runs | All calculations run locally in the current browser tab. |
Keep going with the same files
All convert tools: Convert tools on SPOTTOOLS