# Cron Expression Builder

> Build or paste cron expressions, read them in plain English, and see the next five run times in your time zone or UTC.

- Open the tool: https://overtooled.com/cron-builder
- Category: Developer
- Privacy: Runs entirely in your browser. Nothing is uploaded, no account is needed, and it works offline once loaded.
- Price: free, no sign-up
- Keywords: cron, schedule, crontab, job, recurring

## In short

Build cron expressions visually with plain-English explanations.

## Overview

Builds or reads a standard 5-field cron expression (minute, hour, day of month, month, day of week): type or paste it, or build it from per-field inputs, quick-fill buttons and presets. Shows a short English description and the next five run times in the local time zone or UTC. Useful for writing or checking crontab, CI, or scheduler entries.

## Features

- Editable expression box (type or paste); a valid expression is loaded into the field editors immediately, and editing a field rewrites the expression
- Accepts @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly (description shows the expansion, e.g. "@daily = 0 0 * * *: At 00:00")
- Specific errors for 6/7-field expressions with seconds (a 6-field one is shown without its seconds field), Quartz ? L W #, full day/month names (suggests MON), @reboot and unknown shortcuts
- Next 5 runs (refreshed every minute) in the local time zone (named) or UTC, computed by nextCronRuns in core/tools/cron-builder.js the Vixie cron way: day of month OR day of week when both are restricted, AND when either starts with *; only real dates (Feb 29 on leap years only); on DST changes a fixed-time job skipped by spring-forward runs right after the jump and runs once in a repeated hour, while * minute/hour jobs follow the clock (affected rows are labelled)
- A schedule that never occurs (30 February) says so
- Five labeled field inputs with their valid ranges shown (0-59, 0-23, 1-31, 1-12 or JAN-DEC, 0-6 or SUN-SAT; 7 is also accepted as Sunday)
- Each field is validated as you type: out-of-range numbers, backwards ranges (17-9), zero steps, unknown names, and empty fields show a specific message under the field
- Quick-fill buttons per field: * on every field; */5, */15, */30, 0 for minute; */2, 9-17 for hour; 1-5, 0,6 for day of week
- Eight presets: every minute, every hour, daily at midnight, Mondays at 9 AM, weekdays at 8 AM, 1st of the month, every 5 minutes, every 30 minutes; the active preset is highlighted
- Large expression display with a live English description covering wildcards, lists, ranges, and steps in every field (e.g. "Every 15 minutes, between 09:00 and 17:59, on Monday through Friday")
- Times use 24-hour HH:MM; months and weekdays are written out in full; when both day fields are restricted the description says "or", and "and" when either starts with * (Vixie cron)
- Copy button and Pipeline button for the expression (hidden while it is invalid)

## How to use it

1. Paste an existing expression into the Cron expression box, pick a preset, or start from * * * * *
2. Edit fields directly or use the quick-fill buttons under them
3. Check the English description and the next five run times (switch Local time / UTC to match where the job runs)
4. Click the copy button to copy the expression

## Inputs

- A whole expression (5 fields or an @ shortcut), or free text per field: numbers, *, lists (1,15), ranges (1-5), steps (*/5, 0-30/10, 5/15), and 3-letter month/weekday names

## Outputs

- A 5-field cron expression such as 0 8 * * 1-5 (or the @ shortcut as typed)
- A one-line English description such as "At 08:00, on Monday through Friday"
- The next five run times with date, time and time-zone abbreviation

## Limits and notes

- Only standard 5-field cron and the @ shortcuts; no seconds field, years, or Quartz syntax such as ? L W # (explained, not accepted)
- Run times follow Vixie cron / cronie; other schedulers (systemd timers, some cloud schedulers) can treat DST or day fields differently
- Time zone is the browser's own or UTC; no picker for other zones
- Nothing is saved to localStorage; runs entirely in the browser

## Questions and answers

### How does the Cron Builder work?

Type or paste an expression into the Cron expression box, or build it with the five field inputs (minute, hour, day of month, month, day of week), their quick-fill buttons such as */5, 9-17 or 1-5, and the presets. The box and the fields stay in sync, everything is checked as you type with a specific message for any invalid value, and the English description covers lists, ranges, steps and month or weekday names, for example "Every 15 minutes, between 09:00 and 17:59, on Monday through Friday".

### When will my cron job run next?

The tool lists the next five run times in your own time zone (named under the list) or in UTC, which many servers, CI systems and Kubernetes use. They follow Vixie cron, the cron in most Linux distributions (cronie, Debian cron): if both day of month and day of week are restricted, a day matches when either one does, but if either field starts with * (even */2) both must match; day 29-31 only runs in months that have it, so 0 0 29 2 * runs on leap days only. On a daylight-saving change, a fixed-time job whose time is skipped runs right after the clocks jump forward, and runs once (not twice) when an hour repeats; jobs with * in the minute or hour just follow the clock. Rows affected by a change are labelled.

### Which cron formats are supported?

Standard 5-field cron with *, numbers, lists, ranges, steps, 3-letter names (JAN, MON, any case), 0 or 7 for Sunday, and the shortcuts @yearly, @annually, @monthly, @weekly, @daily, @midnight and @hourly. Six- or seven-field expressions with a seconds field (Quartz, Spring, node-cron), Quartz-only symbols (? L W #) and @reboot are explained rather than accepted; for a 6-field expression the message shows it without the seconds field.

### What is a cron expression?

A cron expression is a string of five fields (minute, hour, day of month, month, day of week) that defines a recurring schedule. It is used in Linux/Unix systems, CI/CD pipelines, and cloud services to run tasks automatically.

### Do I need to know cron syntax to use this?

Not much. Start from a preset (every hour, weekdays at 8 AM, every 5 minutes, and others) and adjust fields with the quick-fill buttons; the plain-English description shows what the expression means. For custom values you type numbers, ranges (1-5), lists (1,15), steps (*/10 or 0-30/5), or 3-letter names (JAN, MON) into each field. If a value is invalid, the field is highlighted with a message explaining what to fix.

### Can I paste an existing cron expression to edit it?

Yes. Paste it into the Cron expression box at the top: a valid 5-field expression or @ shortcut is loaded into the field editors straight away, and an invalid one shows why under the box (a bad field is also highlighted).

## Related tools

- [Barcode Generator](https://overtooled.com/barcode-generator.md): Generate single or bulk barcodes (EAN-13, UPC-A, Code 128, Code 39). Download as PNG or ZIP.
- [Base64 Encode/Decode](https://overtooled.com/base64.md): Encode text to Base64 or decode Base64 strings instantly
- [Chart Studio](https://overtooled.com/chart-studio.md): Create beautiful bar, line, pie, and scatter charts from your data
- [Code to Image Converter](https://overtooled.com/code-to-image.md): Create beautiful code screenshots with themes, window chrome, and PNG export

---
Overtooled: 179 free tools that run in your browser. Index of all tools: https://overtooled.com/llms.txt
