Test URL Generator — Dummy URLs for Fixtures

Generate synthetic URLs on hosts reserved by IANA and the RFCs for databases, fixtures and form tests. Not a shortener, an encoder or a live mock API.

Loading…
How the test URL generator works
Dummy URLs on reserved hosts for fixtures and database seeds. The default hosts are reserved by IANA and the RFCs. This is not a shortener, an encoder or a live mock API.

How generation works

Pick a quantity (1 to 100), a reserved host or one you own, the scheme, the path style and the query. The list is rebuilt each time you change an option. Copy everything or download it as JSON, CSV, SQL or TXT.

Options

Quantity
How many URLs to generate, from 1 to 100 (10 by default). Every URL in the list is different.
Host
Reserved hosts: example.com (the default), example.net, example.org, app.test, acme.example and northwind.example. Custom host opens a hostname field. Consumer ISPs and large popular sites are refused there.
Scheme
https:// by default, which is what most URL validators expect today, or http:// for older fixtures. A list never mixes both.
Path style
Origin gives the bare host, then /2, /3 so each row stays unique. Path joins two English words. Product adds a product number, blog an article slug, and sequential numbers the items.
Query
Off by default. The id option adds the row number on three digits (?id=014). The search option adds a word from the path list (?q=demo). This is not a UTM builder.

Examples

Default settings

Settings

host=example.com, scheme=https, pathStyle=path, query=off

Sample output

https://example.com/docs/start

Sequential items on app.test

Settings

host=app.test, pathStyle=sequential, query=off

Sample output

https://app.test/item-001

Related tools

For matching email or company fixtures, try the test email generator and the test company name generator. A JSON table comes from the JSON test data generator. To encode or read a URL you already have, use URL encode or URL parser. For IDs, try the UUID generator.

Test URL FAQ

Fixtures, reserved hosts and what this tool does not do

Why reserved hosts like example.com?

Example.com, example.net, example.org and the .test and .example domains are reserved for documentation and tests. A generated URL therefore never points to a stranger's site. Example.com may open an IANA page, so do not crawl it. Names under .test do not resolve.

I searched for a random url generator. Is this it?

Yes, if you need dummy links for fixtures and form tests. It does not invent a random .com that someone could register. Use a reserved host or one you own.

I searched for a fake url generator. Is this it?

Yes for synthetic strings in fixtures. No for passing off as GitHub, Amazon or any other popular site: those hosts are refused.

Is this a URL shortener?

No. It does not shorten links, expand them or host redirects. It writes dummy URLs for seed data and form tests.

Can I build UTM campaigns or encode a URL here?

No, there is no utm builder here, and this is not a url encoder either. Use URL encode to percent-encode a known URL, or URL parser to inspect one you already have.

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.