XML Sitemap & Link Auditor
Extract hyper-links, audit anchor tags, and generate XML sitemaps entirely locally.
Input Data Source
Paste raw HTML document code or a list of URLs.
Ready to Audit
Paste raw HTML templates or list lines on the left panel, and select Audit to view sitemap parameters.
Related Tools
Explore more free tools that pair well with this one.
SVG Shape Generator
Generate customizable vector SVG waves, layered section dividers, and animated organic blob shapes inspired by GetWaves.io & Blobmaker.app. Export clean SVG code, Data URI, React JSX, and .svg files.
YT Title & Description Generator
Generate SEO-optimized YouTube video titles and descriptions instantly. Create engaging, click-worthy titles and keyword-rich descriptions to improve rankings offline.
Random Number Generator
Generate truly random integers, decimals, unique numbers, passwords, lottery picks, dice rolls, and customizable random lists instantly with our advanced Random Number Generator.
AI Email Writer
Write professional, persuasive, and human-like emails in seconds with AI. Generate business emails, job applications, customer support replies, sales follow-ups, and cold outreach.
AI Video Caption Generator
Burn real, correctly-timed TikTok/Reels-style captions onto your video using a self-hosted Whisper AI model and ffmpeg. 100% free -- also download the standalone .srt subtitle file, processed on our server and deleted immediately.
Image Upscaler
Upscale photos, anime, and graphics using a real self-hosted Real-ESRGAN AI model (2x or 4x). 100% free -- processed on our server, deleted immediately, with a zoom tool to see the real detail difference.
The SEO Role of XML Sitemaps
XML sitemaps serve as immediate blueprints of your website for search engines. Instead of forcing search crawlers (like Googlebot or Bingbot) to recursively discover pages by jumping from link to link, you can submit a static XML sitemap directly via Search Console. This ensures that newly created articles, landing pages, or product catalog links are indexed immediately.
Additionally, our built-in Link Auditor checks your anchor texts. Search algorithms index pages based on the context of incoming links. If your internal links use weak phrases like "click here" or "link", search engines gain zero context. Using descriptive anchor tags (such as "Read our Loan EMI Calculator guide") helps algorithms associate keywords directly with target pages.
What This Tool Actually Does
This is a two-in-one, entirely browser-based utility: a link auditor and an XML sitemap builder. You paste either raw HTML source code (copied from "View Page Source" in your browser) or a plain list of URLs, one per line, into the input box, along with your site's base domain. The tool then parses that input, classifies every discovered link as internal, external, or a media/asset file, scores each internal link's likely sitemap priority based on its URL depth, and grades each anchor text as "Good" or "Poor" for SEO.
Everything happens locally in your browser using the native DOMParser API and plain JavaScript string parsing — no page content or URL list is ever uploaded to a server. That is why the tool works instantly with no login, no rate limit, and no privacy concern about pasting in draft or unpublished HTML from a site that is not live yet.
Two Ways to Feed It Data
The input box automatically detects which mode you're using. If your pasted text contains an HTML tag and an href= attribute, the tool treats it as raw page source and extracts every <a> element's href and visible link text using DOMParser. If your input does not look like HTML, it instead treats each non-empty line as a standalone URL or path, resolving relative paths against your specified base domain. This lets you audit either a single page's live source code, or a flat list of URLs exported from a crawler, spreadsheet, or CMS export.
How Internal, External, and Media Links Are Classified
Every extracted link is checked against a short list of asset file extensions (.png, .jpg, .jpeg, .gif, .css, .js, .pdf, .svg, .zip, .ico); a match is labeled "Media/Asset." Everything else is compared to your Base Site URL's hostname: a matching hostname is labeled "Internal," while a different hostname (or a link that clearly isn't a relative path) is labeled "External." Only internal links are eligible to be included in the final downloadable XML sitemap, since sitemaps should only ever list URLs you control.
How Sitemap Priority Is Calculated
With "Calculate by Depth" selected, the tool counts the number of path segments in each internal URL. A bare homepage (no path) gets a priority of 1.00. A single top-level path like /tools/ gets 0.80. A two-segment path like /tools/sitemap-generator/ gets 0.64. Anything deeper gets 0.50. This mirrors a common convention used in hand-built sitemaps, where pages closer to the homepage are treated as more important. Selecting "Fixed (0.80)" instead simply assigns every internal URL the same 0.80 priority value, which some site owners prefer for flatter site structures where depth doesn't reflect importance.
It's worth being clear that Google has publicly stated it largely ignores the <priority> field in modern sitemap processing — it does not directly influence crawl frequency or ranking. The field is still part of the official sitemap protocol and is respected by some other search engines and site management tools, so this tool includes it for completeness and protocol compliance, not as a guaranteed ranking lever.
How the Anchor Text SEO Score Works
For internal links extracted from HTML, the auditor compares each link's visible anchor text against a list of generic, low-context phrases — "click here," "read more," "link," "website," "go," "here," "more," and "details." Any anchor matching or containing one of these phrases is flagged "Poor Anchor"; anything else is marked "Good." Links pasted in as a plain URL list (rather than parsed from HTML) don't have real anchor text available, so they are marked "N/A (List Input)" with a default "Good" score, since there is nothing meaningful to audit in that mode.
Step-by-Step: Building Your Sitemap
First, set your Base Site URL — this must exactly match the domain your live pages are served from, since it is what internal-vs-external classification is measured against. Second, paste either your homepage's HTML source or a flat list of URLs into the input box. Third, choose a Change Frequency (how often you expect the page content to update — weekly, daily, or monthly) and a priority mode. Fourth, click "Audit Links & Generate" to see the classification stats and per-link table. Finally, use "URLs List" to download a plain list of every discovered link, or "Download XML" to generate a standards-compliant sitemap.xml file containing only the internal links, each with its calculated priority, change frequency, and today's date as lastmod.
Understanding the Change Frequency Field
The Change Frequency dropdown writes a <changefreq> value — weekly, daily, or monthly — into every URL entry of the generated XML file. This field is meant to be an honest hint to crawlers about how often a page's content actually changes, not a request for more frequent crawling. A static "About Us" page marked "daily" when it hasn't changed in years sends a misleading signal and, like the priority field, is largely disregarded by major search engines when it clearly contradicts what the crawler observes on repeated visits. Set it to genuinely reflect your publishing cadence — "daily" for a news section, "weekly" for a blog, "monthly" for mostly-static marketing pages — rather than picking the most aggressive option by default.
Reading the Extracted URL Audit Table
After running an audit, the results table on the right lists every discovered link with four columns: its classification badge (Internal, External, or Media/Asset), the resolved absolute URL, its calculated sitemap priority, and its anchor text alongside the "Good" or "Poor Anchor" SEO badge. Scanning this table top to bottom is the fastest way to spot patterns — for example, noticing that most of your "Poor Anchor" flags cluster around a specific navigation menu or footer block that could be rewritten once to fix dozens of links at the same time, rather than fixing each page individually.
Why Excluding External Links from Your Sitemap Matters
The official sitemap protocol (sitemaps.org) exists to help search engines discover and prioritize pages you control and want indexed — it was never meant to list every hyperlink that happens to appear on a page, including links to other companies' websites, social media profiles, or third-party resources. That's why this tool automatically drops anything classified as "External" before building the downloadable XML file. Submitting a sitemap containing external URLs can confuse crawlers about site ownership and, in the worst case, waste your limited crawl budget by encouraging bots to spend time on out-of-scope destinations instead of your own pages.
Who Uses This Tool
Small business owners and bloggers on platforms without a built-in sitemap generator use this to hand-build a sitemap from their site's homepage HTML. Developers auditing a client's site paste in raw page source to quickly see how many links point to weak anchor text like "click here," flagging quick wins for an SEO cleanup. Freelancers migrating a site from one CMS to another paste in an exported URL list to sanity-check which links are internal versus external before finalizing a redirect map. Students and junior SEOs use it as a hands-on way to see how sitemap priority and anchor-text scoring actually work, rather than reading about the concepts abstractly.
Limitations to Keep in Mind
Because this tool only audits what you paste in, it cannot crawl your entire website on its own the way a dedicated desktop or cloud site-crawler can — it works one page's HTML (or one manually compiled URL list) at a time, not by recursively following every internal link it finds across your whole domain. For a large multi-thousand-page site, you'll need to either paste in an exported URL list from your CMS or database, or run this tool once per key template page rather than expecting full-site discovery in a single pass. It also cannot detect broken links (404s), redirect chains, or canonical tag conflicts, since it never actually requests any of the URLs it lists — it only parses the text or markup you provide.
The anchor-text SEO scoring is a simple keyword-matching heuristic, not a full semantic content analysis — it catches obviously generic phrases but cannot judge whether a longer, unique anchor text is actually well-written or topically relevant to its destination page. Treat the "Poor Anchor" flag as a starting point for manual review, not a final verdict.
Tips for Best Results
Paste your homepage's full HTML source (right-click → "View Page Source" → copy all) rather than just a link list when you want anchor-text auditing, since only parsed HTML links carry real anchor text. Double-check your Base Site URL includes the correct protocol and does not include a trailing path, since even a small mismatch (like missing "www") can cause genuinely internal links to be misclassified as external. After downloading the XML file, always validate it by opening it directly in a browser or running it through Google Search Console's sitemap report before considering the job done, since a malformed sitemap will simply be ignored by crawlers rather than throwing a visible error to you.
Common Problems and Fixes
If clicking "Download XML" shows "No internal base URLs found," your Base Site URL almost certainly doesn't match the hostname of the links in your pasted content — recheck for a "www" mismatch or an http-versus-https mismatch. If every link is coming back labeled "External" when you expected mostly internal links, confirm you pasted the Base Site URL exactly as it appears in your actual page URLs. If anchor text audits are all showing "N/A," you likely pasted a plain URL list instead of full HTML — switch to pasting the page's raw source code if you want anchor-text scoring included.
Privacy and Performance
Because parsing happens with your browser's native DOMParser and plain JavaScript array operations rather than a server round-trip, there is no upload step, no processing queue, and no waiting on a remote service — results render as soon as the browser finishes iterating over the extracted links, which for a typical page of a few hundred links is close to instantaneous. This also means the tool has no way to leak your draft HTML, unpublished page structure, or internal URL list to any third party, which is valuable when auditing a site that is still in staging or under an NDA before public launch.
How This Compares to Server-Side Sitemap Plugins
Content management system plugins that auto-generate sitemaps have a major advantage: they run on your server with direct database access, so they can regenerate an accurate, complete sitemap automatically every single time you publish, edit, or delete a piece of content, with no manual step required from you. This tool cannot do that — it has no ongoing connection to your site and only processes what you manually paste in at that moment. Where this tool wins is portability and control: it works on any site regardless of platform, requires no plugin installation or server access, doubles as a genuine link-quality and anchor-text auditor (which most auto-generators don't offer), and is useful for one-off audits, static sites, or platforms that don't have a native sitemap solution at all. Use the two together where possible — an automated plugin for ongoing sitemap maintenance, and this tool for periodic, deeper link-quality and anchor-text audits that most auto-generators simply don't attempt, especially right after a redesign or content migration when broken assumptions about internal linking are most likely to creep in unnoticed.
Frequently Asked Questions
Priority rates are determined by path slashes (e.g. `/` is 1.0; `/tools/` is 0.80; `/tools/loan/` is 0.64). This matches search engines' organic crawling flow.
Yes. We match incoming links with your Base Site Domain. Non-matching domains are labeled as 'External' and are automatically excluded from the final XML Sitemap to comply with sitemap rules.
Since parsing is client-side, the page can process up to 3000 links in a single block without bottlenecking your system's memory capacity.
No. It only audits the HTML or URL list you paste in — it does not recursively follow links across your site. For a full site, paste an exported URL list from your CMS or run the tool once per key template page.
Any link ending in a file extension like .png, .jpg, .jpeg, .gif, .css, .js, .pdf, .svg, .zip, or .ico is classified as Media/Asset and is excluded from the downloadable sitemap along with external links.
No. Parsing uses your browser's built-in DOMParser and runs entirely on your device. Your pasted HTML or URL list is never uploaded, which is safe even for unpublished or staging pages.
Generic phrases like "click here," "read more," "link," or "here" give search engines no topical context about the destination page. The auditor flags these against a built-in list so you can rewrite them with descriptive text.
Upload the downloaded sitemap.xml file to your website's root directory so it is reachable at https://yourdomain.com/sitemap.xml, then submit that URL in Google Search Console's Sitemaps report.
Yes. Paste one URL or path per line and the tool automatically detects it isn't HTML. Note that anchor-text auditing is unavailable in this mode since a plain URL list carries no link text.
No. Google has said it largely ignores the sitemap priority field for ranking or crawl-frequency decisions. It remains part of the official protocol and is included for compliance, not as a ranking lever.