DiagramPreview
BasisparserNo AILocal previewDebuggingExport

robots.txt-Tester

Füge Inhalte für robots.txt-Tester ein und erzeuge eine lokale, prüfbare Vorschau für Konfigurationen, API-Antworten, SEO-Dateien und AI-generierte Snippets.

Beispiele
Robots decisionBereit
Your preview will appear here.

Mit einem verwandten Tool fortfahren

Nutze diese Vorschau im nächsten Workflow zum Konvertieren, Debuggen oder Exportieren.

Verwendung

  1. 1Put the target URL on the first line, then add --- and the robots.txt content.
  2. 2Check whether the URL is allowed or disallowed for the relevant user-agent.
  3. 3Review broad Disallow rules such as /, /api, /en, or wildcard paths before publishing.
  4. 4Confirm production behavior with Search Console or the crawler tools you rely on.

Anwendungsfälle

robots.txt QATechnical SEO reviewIndexing issue debuggingAI robots snippet validationLaunch checklist

FAQ

What robots.txt mistake is most dangerous?

A broad Disallow such as / or a locale prefix can block important pages from crawling even when the sitemap lists them.

Does robots.txt remove indexed pages?

Not directly. It controls crawling. Use noindex or removal tools when you need deindexing behavior.

Why test a single URL?

A specific URL test makes broad rules and wildcard behavior easier to reason about than reading the file abstractly.

robots.txt Tester checks Allow and Disallow rules for a target URL so technical SEO changes can be reviewed before deployment.

It is useful when AI, CMS settings, or manual edits produce robots rules that look simple but accidentally block tool pages, docs, assets, or localized routes.

Use it together with sitemap and Open Graph preview checks before submitting important pages for indexing.

Demo: make sure tool pages are crawlable

Before launching a tool site, test representative URLs from each section. A single broad rule can block pages even when sitemap.xml is correct.

  • Test home, tool, blog, and asset URLs separately.
  • Avoid blocking locale prefixes such as /en or /zh-CN by accident.
  • Disallow /api/ without blocking documentation paths such as /api-error-flow-diagram.
https://diagrampreview.com/en/mermaid-preview
---
User-agent: *
Allow: /
Disallow: /api/
Sitemap: https://diagrampreview.com/sitemap.xml

SEO release checklist: test robots rules with real URLs

robots.txt should be reviewed with concrete URLs, not only by reading the file. Locale prefixes, API-looking slugs, and static asset paths are easy to block accidentally on a tool site.

  • Test one page from each major directory before submitting a sitemap.
  • Keep /api/ blocked if needed, but verify similar public slugs are not matched by mistake.
  • Pair robots checks with canonical, hreflang, and sitemap checks for launch review.
User-agent: *
Allow: /
Disallow: /api/
Sitemap: https://diagrampreview.com/sitemap.xml

Review-Checkliste für robots.txt-Tester

Nutze robots.txt-Tester, um Quellinhalte vor Dokumentation, PR-Notizen, Incident-Berichten oder Übergaben visuell zu prüfen. robots.txt-Tester: Diese Quelle lokal anzeigen und debuggen.

Prüfe vor dem Export Lesbarkeit, Beziehungen, sensible Daten und ob die Vorschau nach Änderungen weiterhin passt.

Grenzen und Fehlersuche

Wenn die Vorschau fehlschlägt, reduziere die Eingabe auf ein kleines vollständiges Beispiel und füge Abschnitte schrittweise zurück.

Behandle die Vorschau als Review-Fläche, nicht als Quelle der Wahrheit. Kritische Ergebnisse brauchen menschliche Prüfung.

Beispieleingaben

  • Blog allowed: URL: https://example.com/blog/har-guide --- User-agent: * Disallow: /admin/ Allow: /blog/ Sitemap: https://example.com/sitemap.xml
  • Private blocked: URL: https://example.com/private/report --- User-agent: * Disallow: /private/ Allow: /private/public/
  • Sitemap rule: URL: /tools/jsonpath-tester --- User-agent: * Disallow: /api/ Allow: /tools/ Sitemap: https://example.com/sitemap.xml

Werkzeugreife

Basisparser

Basisparser

Dieses Werkzeug ist für schnelle Strukturprüfung gedacht. Nutze es zur Prüfung und Fehlersuche, validiere aber kritische Ergebnisse.

Das Label zeigt, ob das Werkzeug eher für stabilen Export, Debugging, schnelles Parsen oder AI-gestützte Generierung gedacht ist.