Skip to main content

Build a Sitemap & robots.txt in 5 Minutes

The two files that tell search engines what to index — and what to leave alone.

AAmar LodhiFounder, Vizo Tool July 22, 2026 Updated August 1, 2026 1 min read
Build a Sitemap & robots.txt in 5 Minutes

Sitemaps and robots.txt control how search engines discover your site. Together they're ~15 lines of config that every healthy website should have.

What robots.txt does

text
User-agent: *
Allow: /
Disallow: /admin/

Sitemap: https://vizotool.com/sitemap.xml

What a sitemap looks like

xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://vizotool.com/compress</loc>
    <lastmod>2026-08-01</lastmod>
    <priority>0.9</priority>
  </url>
</urlset>

Try the generators

R

Robots.txt Generator

Live tool — try it right here, no uploads

Open full screen
S

Sitemap Generator

Live tool — try it right here, no uploads

Open full screen

Best practices

  • Submit your sitemap in Google Search Console.
  • Keep robots.txt short and avoid blocking assets.
  • List every indexable URL in the sitemap.
  • Update lastmod when content changes.
  • Use disallow for admin and private areas only.

robots.txt is a request, not a lock

Robots.txt only stops compliant crawlers. Use noindex or auth for real access control.

FAQ

Frequently asked questions

Yes — it helps search engines find pages that lack internal links.
Free tool

Generate your sitemap

XML, image and video sitemaps with validation — free and instant.

Try it now
A

Amar Lodhi

Founder, Vizo Tool

Written by Amar Lodhi, who builds fast, private, browser-based tools that save people time.

The Vizo Tool Newsletter

Guides like this, once a week. No spam.

Join readers learning image tricks, dev workflows and SEO — practical, ad-free, unsubscribe anytime.

Related articles

The Vizo Tool Newsletter

Guides like this, once a week. No spam.

Join readers learning image tricks, dev workflows and SEO — practical, ad-free, unsubscribe anytime.

Comments0