Test Date Generator — Dummy Dates for Fixtures
Generate synthetic dates, date-times and times for databases, fixtures and form tests. Not a calendar, a countdown or a timestamp converter.
How generation works
Pick a quantity (1 to 100), the kind, the range, the format and the order. The list is rebuilt each time you change an option. Copy everything or download it as JSON, CSV, SQL or TXT. All values are in UTC, and ISO date-times end with Z.
Options
- Quantity
- How many rows to generate, from 1 to 100 (10 by default).
- Kind
- Date writes YYYY-MM-DD, as used by DATE columns and HTML date fields. Datetime, the default, writes a UTC date and time ending with Z, the shape of a timestamptz column. Time writes HH:mm:ss and ignores the range.
- Range
- A UTC window counted from today, bounds included. Presets cover the last 30 or 365 days, the next 365 days and 30 days either side of today. Adult DOB draws dates of birth for ages 18 to 80, and Custom range takes your own From and To dates. If From is after To, the list stays empty. Adult DOB does not switch the kind to Date for you.
- Format
- The formats on offer depend on the kind. ISO datetime (RFC 3339, ending with Z) is the default for date-times. The Date kind also has two fixed day-month-year formats, 17.03.2026 and 17/03/2026, but no free pattern field. SQL DATETIME has no time zone suffix. In Unix format, a date is the UTC midnight of that day. Locale follows the page language through the browser's Intl API.
- Order
- Random, the default, scatters the values. Ascending puts the oldest first, so a created_at seed looks right under ORDER BY. Descending puts the newest first, as with ORDER BY DESC.
Examples
Default created_at value
Settings
Sample output
Adult date of birth as a DATE
Settings
Sample output
Related tools
For matching columns, try the test email generator, the test phone number generator or the test name generator. A JSON table comes from the JSON test data generator, and IDs from the UUID generator.
Test date FAQ
Fixtures, UTC and what this tool does not do
I searched for a random date generator. Is this it?
Yes, if you need dummy dates for fixtures, database seeds and form tests. It does not pick a date for a party or a single lucky day. It writes a list for developers to paste.
Is this a fake date generator or birthday generator?
It writes synthetic dates, including a range of adult dates of birth (ages 18 to 80). It does not look up famous birthdays, star signs or holidays. A generated date can match a real person's birthday by chance.
Is this a Unix timestamp converter?
No. You can write the output as Unix seconds or milliseconds for fixtures, but this is not a live clock or an epoch converter. To convert a real timestamp, use a dedicated converter.
Why is a date in Unix format at midnight UTC?
A DATE has no time of day. In Unix format the Date kind uses Date.UTC(y, m-1, d, 0, 0, 0), so seed jobs get a stable midnight value. A datetime keeps its own time. For the Time kind, the exported Unix value counts seconds from midnight (0 to 86399), not from the epoch.
Test Data
Dummy names, emails, phone numbers, addresses, dates, IBANs, card numbers and JSON, CSV or SQL rows for fixtures and database seeds. Everything is generated in your browser.
- Test Name Generator
- Test Email Generator
- Test Username Generator
- Test Phone Number Generator
- Test Numeric Generator
- Test URL Generator
- Test Company Name Generator
- Test Postal Code Generator
- Test Address Generator
- Test VAT Number Generator
- JSON Test Data Generator
- CSV Test Data Generator
- SQL Test Data Generator
- Test Credit Card Generator
- Test IBAN Generator
- Test Bank Account Generator
- Test GTIN Generator
- Test IP Address Generator
- Test MAC Address Generator
- Test User-Agent Generator
Explore other tool categories
- Minify
Minify JavaScript, CSS, HTML, JSON, XML, SVG and other formats to cut the bytes you ship, before gzip or a CDN.
- Unminify
Make minified code readable again to debug or review it. Unminify JavaScript, CSS, TypeScript, SCSS, LESS, SQL, YAML and other formats.
- Conversion
Convert data between JSON, YAML, XML, CSV, TOML and other formats locally, with no upload to a server.
- Encoding
Encode or decode Base64, URLs, HTML entities and JWTs, and generate hashes and HMACs in your browser.
- Serialization
Serialize and deserialize PHP data structures beside JSON workflows.
- JSON Tools
Validate, format, repair, compare and explore JSON in your browser, alongside the JSON minifier and converters.
- SVG Tools
Preview, optimize with SVGO, export as a data URI, resize, beautify, convert to JSX and validate SVG in your browser.
- Beautify
Make code readable with consistent indentation. Beautify JavaScript, CSS, TypeScript, SCSS, LESS, Markdown, GraphQL, SQL, YAML and more in your browser.
- CSS preprocessors
Compile SCSS or LESS to standard CSS in your browser. Pair it with beautify or minify to handle a whole stylesheet.
- Color & CSS Tools
Check WCAG contrast, convert CSS colors and units, and generate shades, border-radius and box-shadow code in your browser.
- DevOps & Infra
Terraform HCL format/validate/minify, Dockerfile format & lint, Docker Compose and .env validation.
- CI/CD
Format GitHub Actions and GitLab CI YAML and check the structure of workflows and jobs in your browser.
- Logs & observability
Format, filter and validate JSON and NDJSON logs, and turn Nginx or Apache access logs into CSV or TSV.
- Kubernetes
Multi-doc manifests, structural validate, Ingress/Deployment starters, and Helm values formatting.
- Networking / IP
Subnet calculator, IP converter, range to CIDR, CIDR summarize and IP-in-subnet checks for IPv4 and IPv6, in your browser.
- Security & tokens
Inspect JWKS, verify JWTs, decode X.509 certificates, convert PEM and JWK, scan text for secrets and hash with bcrypt in your browser.
- API & schemas
Format, validate, lint and convert OpenAPI, JSON Schema and GraphQL SDL in your browser.
- HTTP Tools
Paste cURL commands, HTTP messages, URLs, HAR files and Cookie or Set-Cookie headers to format and inspect them. Nothing is sent.
- SEO / Web Tools
Generate meta tags, Open Graph, Twitter Card, robots.txt, sitemap.xml and JSON-LD in your browser. Previews come from your input, and your site is never fetched.
- Developer utilities
Timestamps, UUID, ULID, Nanoid, cron, passwords, regex, slugs, number bases, letter case, text diff, chmod and Lorem Ipsum, all in your browser.
- Text & Markdown
Count words, build Markdown tables of contents, turn CSV into Markdown tables and sort or deduplicate lines in your browser.
- AI & LLM
Count tokens, estimate API costs, check context-window fit, convert JSON to TOON and analyze prompts, all in your browser.
- Barcode labels
Draw Code 128, EAN-13 and UPC-A labels and static QR codes in your browser, then download PNG or SVG. This is not a GS1 lookup.