📜 Maptor v1.0 documentation

Maptor

Instant XML Sitemap Generator · 100% client‑side no server
💻 Browser‑native 💡 Serverless 🔒 No logs, no cookies 📄 Download .xml

This document describes the internal architecture, JavaScript mechanics, privacy guarantees, and security boundaries of Maptor — a free, client‑side sitemap generator that produces valid sitemap.xml files with zero backend.

1. Specific Function core

Maptor is a lightweight XML sitemap generator designed for SEO professionals and website owners. Its primary purpose is to produce a standards‑compliant sitemap.xml file in two simple steps:

The tool is ideal for quickly generating a sitemap for small to medium‑sized websites without the need for server‑side processing or third‑party services. All processing is done locally, ensuring complete privacy.

🛠️ All operations are performed entirely inside your browser using JavaScript's DOM API and the Blob interface for file generation. No data is ever transmitted.

2. Local JavaScript Mechanism under the hood

Every operation in Maptor executes 100% inside the browser's memory. No user input — not even the domain or URL paths — ever leaves the client.

// Core generation logic — triggered on download click
function generateSitemap() {
  const domain = document.getElementById('domainInput').value.trim();
  const paths = getPathsFromDOM(); // array of strings
  const today = new Date().toISOString().split('T')[0];
  let xml = '<?xml version="1.0" encoding="UTF-8"?>\n';
  xml += '<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">\n';
  paths.forEach(p => {
    xml += ` <url>\n <loc>https://${domain}${p}</loc>\n`;
    xml += ` <lastmod>${today}</lastmod>\n`;
    xml += ` <changefreq>daily</changefreq>\n`;
    xml += ` <priority>0.8</priority>\n </url>\n`;
  });
  xml += '</urlset>';
  // create Blob and trigger download — all local
  const blob = new Blob([xml], { type: 'application/xml' });
  const url = URL.createObjectURL(blob);
  const a = document.createElement('a');
  a.href = url; a.download = 'sitemap.xml'; a.click();
  URL.revokeObjectURL(url);
}

✅ This design guarantees that all processing happens in memory — nothing is serialised, stored, or transmitted outside the browser tab.

3. Dependencies / Libraries vanilla & zero

Maptor has zero external dependencies. It is built entirely with vanilla JavaScript (ES6), standard HTML5, and plain CSS.

📜 Zero dependencies means zero supply‑chain risk. Every line of code is auditable, self‑contained, and immune to third‑party compromise.

4. Storage Limitations ephemeral

Maptor does not persist any data — neither on the server (there is none) nor on the client beyond the current browser session.

🔒 Ephemeral by design — your interaction with Maptor leaves no trace. This is not a limitation; it is a deliberate privacy guarantee.

5. Input Security zero‑exfiltration

Maptor handles no sensitive user data — it only processes a domain name and a list of URL paths. Nevertheless, the security model is absolute: nothing ever touches the network.

// The only "inputs" are the domain and path list — processed locally
const domain = document.getElementById('domainInput').value;
const paths = Array.from(document.querySelectorAll('.url-path-input'))
  .map(inp => inp.value.trim())
  .filter(p => p.length > 0);

// No fetch(), no XMLHttpRequest, no WebSocket
// No cookies, no localStorage, no IndexedDB

🛡️ Absolute input security is guaranteed by the architecture: the browser never initiates any outbound request containing user‑derived data. Your interaction with Maptor is completely offline after the initial page load.

📜 Ready to generate your sitemap?

Launch Maptor, enter your domain and paths, and download a valid sitemap.xml — instantly, privately.

▶ Open Maptor
🎯 zero‑tracking 💻 browser‑native 🔒 no server 📄 XML output