Cron tool

Cron Expression & Crontab Generator / Parser

A cron expression generator that is also a crontab generator and a cron parser. Five Unix fields, optional seconds, next run times, and a Next.js vercel.json snippet. It all stays on your device.

Like the tool? Find a bug?Share with us

Generator / Parser

Fields

Build a cron expression, a crontab line, or paste one to parse. Next runs use this device's clock. Files stay on this device.

Expression

* * * * *

Every minute.

Minute
*
every
Hour
*
every
Day
*
every
Month
*
every
Weekday
*
every

Next 5 runs

local · UTC

Upcoming times will appear here.

* * * * *
import type { NextRequest } from "next/server";

// Every minute.
// vercel.json:
// {
//   "crons": [{ "path": "/api/cron", "schedule": "* * * * *" }]
// }
// Vercel Cron Jobs run this GET in UTC.

export const CRON_SCHEDULE = "* * * * *";

export function GET(request: NextRequest) {
  const auth = request.headers.get("authorization");
  if (process.env.CRON_SECRET && auth !== `Bearer ${process.env.CRON_SECRET}`) {
    return new Response("Unauthorized", { status: 401 });
  }
  return new Response("ok");
}

Guide

How this cron expression generator works

01

Fields become an expression

Unix crontab is five fields: minute, hour, day of month, month, and day of week. Seconds adds a sixth field at the front. *, lists, ranges, and steps like */15 are allowed. Named months and weekdays work in crontab.

02

Paste to parse

The cron parser reads an expression, a crontab line, or a file with comments and SHELL= assignments. Aliases such as @daily expand. Invalid fields show an error instead of a guess. The 50,000 character cap still applies.

03

Next.js on Vercel

The Next.js snippet is a Route Handler plus a vercel.json crons comment. Vercel Cron Jobs run in UTC and use five fields — seconds are dropped. Pair the file with app/api/cron/route.ts.

Use it

What schedules well

Hourly, daily, weekday, and monthly jobs. When both day-of-month and day-of-week are set, Unix crontab matches either (OR). Vercel schedules cannot use that pair. Next runs use this browser's timezone; crontab uses the machine timezone; Vercel uses UTC.

FAQ

Questions

Does this upload my crontab?

No. Generating, parsing, and copy run in the browser. There is no account and no API call.

Unix or seconds?

Unix is the five-field crontab everyone knows, and what Vercel Cron Jobs accept. Seconds is a six-field form used by some libraries. Quartz tokens such as L, W, #, and ? are rejected.

Why are Next.js times in UTC?

Vercel Cron Jobs evaluate the five-field schedule in UTC. The next-run list on this page uses your local timezone so you can compare. If 09:00 local is what you want on Vercel, convert it first.

Is there a size limit?

Paste is capped at 50,000 characters so a huge dump cannot freeze the tab.