Convert Human Time to Unix Time
Turn readable date-times into Unix epoch timestamps (seconds since 1970), in UTC or a zone you pick. Runs entirely in your browser, so your data never leaves your device.
Runs on your device, nothing uploaded
UTC · UTC
Output
Turn readable date-times into Unix epoch timestamps (seconds since 1970), in UTC or a zone you pick.
Type or paste above to see the result here.
What you paste never leaves this tab
Convert Human Time to Unix Time is JavaScript that your browser has already downloaded, and it does the whole job on your own machine. On a normal site, whatever you type in is sent to a server that can log it, cache it or keep it. Here it is read and transformed inside this tab and nowhere else.
- No upload
- No length limit
- Works offline once loaded
- Nothing stored or logged
How to use Convert Human Time to Unix Time
- 1. Type or pick a date and time. Type a date and time, such as 2026-07-14 14:30 or an ISO string like 2026-07-14T14:30:00.000Z, or tap the calendar button to pick one; it starts on now. Choose the time zone it is read in, or put an offset such as +05:30 in the text. To convert a list, turn on Many at once and paste one per line.
- 2. Read the epoch seconds. Each date-time converts to the number of seconds elapsed since 1970-01-01 00:00:00 UTC, so the epoch itself resolves to 0 on the matching line.
- 3. Copy the timestamps. Copy the resulting Unix timestamps and paste them into an API payload, database column or script that stores time as an integer.
When to use Convert Human Time to Unix Time
Convert Human Time to Unix Time turns readable UTC dates into the integer timestamps that databases, APIs and log files actually store. It is for anyone who has a calendar date in mind but needs the epoch number a system expects.
- Filling in an API request. An API endpoint accepts a 'created_after' parameter as a Unix timestamp, but you know the cutoff as a calendar date. Converting the date here gives the exact integer to paste into the request.
- Seeding a test database. A test fixture needs a column of expiry timestamps stored as epoch seconds, but the test plan is written as readable dates. Converting the list keeps the fixture readable in source yet correct on disk.
- Scheduling a cron-based job. A scheduler stores its next-run field as Unix seconds, and you want to set it to a specific date and time next quarter. This tool produces the number to hardcode into the config.
Examples
The epoch
Input
1970-01-01 00:00:00
Output
0
Date only (midnight assumed)
Input
2026-07-14
Output
1783987200
An ISO string from JavaScript
Input
2026-07-14T14:30:00.000Z
Output
1784039400
About the Convert Human Time to Unix Time tool
Convert Human Time to Unix Time runs as plain JavaScript in your browser tab, with no server behind it. Turn readable date-times into Unix epoch timestamps (seconds since 1970), in UTC or a zone you pick. Whatever you put in stays on your device from start to finish.
The tool is part of EditSafely's Time Tools section, 90 single-purpose utilities built around the same idea: open the page, get the result, keep your data to yourself.
You can shape the output with the Time zone for inputs without an offset setting, and the result refreshes the moment you change it. 3 worked examples further down the page show exactly what the tool produces for real inputs.
That local-first design has practical benefits beyond privacy. The tool keeps working on a flaky connection once the page has loaded, results are instant because nothing round-trips to a server, and it is safe to use with confidential material.
Frequently asked questions
Is Convert Human Time to Unix Time free to use?
Yes, it is completely free. All 2,943 tools on EditSafely work without an account, a subscription or usage limits.
Is it safe to paste sensitive or confidential data?
Everything happens locally. Your browser downloads the tool's code once, then does all the processing itself; nothing you enter is transmitted, stored or logged. You can even go offline after the page loads and it will still work.
How much text can I process at once?
There is no fixed limit; your device's memory is the ceiling. Up to 10 MB the result updates as you type, after a short pause that grows with the size. Above 10 MB a Run button appears so typing stays smooth, and files open up to 50 MB. A very long result shows its first 2,000 lines on screen, while Copy and Download always include all of it.
Do I need to sign up or install anything?
No. The tool works in any modern browser on desktop, tablet or phone. There is no account to create, no extension to add and no software to install.
How do I use the result?
The output panel has a one-click copy button, and you can keep refining the input while you work; the result updates in place as you type.
Related tools
All Time Tools →Convert Unix Time to Human Time
Turn Unix epoch timestamps (seconds, milliseconds, microseconds or nanoseconds since 1970) into readable date-times in your zone and UTC.
Convert Time to Seconds
Turn each clock time into the total number of seconds it represents.
Convert Seconds to Time
Turn a number of seconds into an HH:MM:SS clock time.