Cron Expression Builder
Assemble a classic five-field cron expression by filling in each field, or start from a common preset. The expression updates live and copies to your clipboard with one click.
0 * * * *How to use this tool
- 1
Type a value into each of the five fields: Minute, Hour, Day (of month), Month, and DOW (day of week).
- 2
Use cron syntax inside any field: * for every value, a number like 9, a range like 1-5, a step like */15, or a list like 1,15.
- 3
Or click a preset such as 'Weekdays at 8am' to fill all five fields at once, then tweak as needed.
- 4
Read the assembled expression in the preview box and press Copy to put it on your clipboard for crontab or your scheduler.
What is a cron expression and how do the five fields work?
Cron is the scheduling syntax used by the Unix cron daemon and most CI, container, and serverless schedulers. A classic cron line has five space-separated fields read left to right: minute (0-59), hour (0-23), day of month (1-31), month (1-12), and day of week (0-7, where both 0 and 7 mean Sunday). A job runs whenever the current time matches every field. Each field accepts more than a single number. An asterisk (*) matches every value. A range like 1-5 in the day-of-week field means Monday through Friday. A step like */15 in the minute field means every fifteen minutes. A list like 1,15 matches the 1st and 15th. One gotcha: when both day-of-month and day-of-week are restricted, standard cron treats them as an OR, so the job fires when either matches. Another: some schedulers such as Quartz prepend a seconds field, making six fields. This builder emits only the classic five-field form and does not add seconds.
Common use cases
Schedule a nightly database backup to run at a quiet hour, for example 0 3 * * * for 3am every day.
Configure a GitHub Actions or GitLab CI workflow that runs on a cron trigger without hand-counting the fields.
Set up a Kubernetes CronJob or a serverless scheduled function and paste the expression into the schedule field.
Build a weekday-only reminder or report job, like 0 8 * * 1-5 for 8am Monday through Friday.
Create a high-frequency polling task such as */5 * * * * to check a queue or endpoint every five minutes.
Generate a monthly billing or cleanup expression like 0 0 1 * * that fires at midnight on the first of each month.
Frequently asked questions
Does this tool validate my cron expression?▼
Does it show the next fire times or translate the expression to English?▼
What does */5 * * * * mean?▼
How do I run something only on weekdays?▼
Does it support six-field cron with seconds, or @daily style macros?▼
Why does day-of-month and day-of-week behave oddly together?▼
Is my data uploaded anywhere?▼
Related tools
JWT Decoder
Decode JSON Web Tokens (JWT) instantly — inspect the header, payload, and signature claims. Runs entirely in your browser; tokens never leave your device. Safe for production secrets.
JSON Formatter & Validator
Format, validate, and minify JSON instantly. Catches syntax errors with line numbers, pretty-prints with adjustable indent, supports large payloads. Runs in your browser — no upload.
XML Formatter & Beautifier
Format and beautify XML documents — proper indentation, line breaks, namespace handling. Useful for SOAP responses, sitemaps, RSS feeds, and Android resource files.
Base64 Encoder & Decoder
Encode and decode Base64 strings.
URL Encoder & Decoder
Encode/decode URL-safe strings.
HTML Entity Encoder & Decoder
Convert special characters to/from HTML entities.