Format Code Now
/

Random Link Generator

RG-27

Get a list of made-up URLs for testing link checkers, parsers and forms. They use domains reserved for examples, so they do not lead to real sites.

Runs in your browser. Nothing is uploaded.

Optional: one host name to use for every link, such as shop.test (no https://, no path)

Random links

How to use it

  1. Choose how many links you want and which domains to use.
  2. Pick the scheme, the number of path segments, and tick trailing slash, query string or fragment if you need them.
  3. To use your own host name, type it in the box, for example shop.test.
  4. Press Generate links and copy the list.

Where the links point

Hosts are example.com, example.org and example.net, which RFC 2606 sets aside for examples, or a random word under .test or .invalid, two reserved top-level names that are not meant to resolve on the public internet. The example domains can be opened in a browser, but the paths in these links do not exist on them. Path words come from a short list written for this page. A link looks like https://www.example.org/guide/orbit-planner?page=42.

Your own host and what is not checked

If you type a host name, every link uses it as typed, in lowercase, with no check that it exists or that you control it. Only a plain host is accepted: no scheme, port or path. Query strings add one or two parameters from a small set of names, such as id, page or sort. The tool does not return real websites, pages from the web or short links. Links can repeat, mostly when you use few path segments.

Error messages and what to do

MessageWhat it meansFix
The domain in the box is not valid. Type only a host name such as shop.test, with no https:// and no path.The box holds a URL, a port, spaces or other characters that a host name cannot have.Type only the host name, or clear the box.

Questions people ask

Do the generated links go to real pages?

No. They use reserved example domains. example.com, example.org and example.net open a generic page, but the paths in these links do not exist there. The .test and .invalid names are not meant to resolve at all.

Why use example.com for test links?

RFC 2606 reserves example.com, example.org and example.net for documentation and tests, so nobody can register them for a real site. That keeps test data from sending traffic to a real owner.

Can I generate links with my own domain?

Yes. Type the host name in the box, such as shop.test, and every link uses it. Use a name you control or a reserved one. The tool does not check that the host exists.

Can I add query strings and fragments?

Yes. Tick Add a query string to get one or two parameters like ?page=42&sort=guide, and Add a #fragment to end a link with something like #pricing. You can also choose 0 to 4 path segments.

What is the .test domain?

It is a top-level name reserved for testing. It is not meant to exist in the public domain name system, so a link like https://orbit.test/docs only works if you set it up on your own machine or network.

Can I get a random website to visit?

No. This tool makes made-up URLs on reserved domains and has no list of real sites. It is for test data, not for finding pages to open.

About this tool

Values are made in your browser with crypto.getRandomValues and rejection sampling, so no value is favored, and nothing is sent anywhere or stored. The links are made up and point to nowhere. Hosts are example.com, example.org and example.net (set aside for examples in RFC 2606), or a random word under .test or .invalid, two top-level names that are also reserved and not meant to resolve on the public internet. The example domains can be opened, but the paths here do not exist on them. Path words come from a short list written for this page. If you type your own host name, every link uses it as typed (lowercased), with no check that it exists or that you own it. It does not give you real websites or random pages from the web.

Format Code Now: free, no ads, no accounts. Your input stays in your browser.