Reserved Test TLDs
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://tldfyi.com/iframe/glossary/test-tld/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://tldfyi.com/glossary/test-tld/
Add a dynamic SVG badge to your README or docs.
[](https://tldfyi.com/glossary/test-tld/)
Use the native HTML custom element.
Reserved test TLDs are [[tld|top-level domains]] set aside by [[iana|IANA]] (RFC 2606) for documentation, testing, and development purposes that will never be delegated in the public [[dns|DNS]] root zone. The four primary reserved TLDs are .test (for software testing), .example (for documentation and illustration), .invalid (guaranteed not to resolve), and .localhost (for local machine loopback). Using these TLDs in code, documentation, or demos ensures that examples never accidentally resolve to real domains or create unintended internet traffic.
Example
RFC documentation uses example.com, example.net, and example.org for all illustrative purposes; developers use http://myapp.test during local development to avoid conflicts with live domains.