How to create a sitemap manually, create sitemap xml manually, and how to create html sitemap manually are straightforward processes when you understand the structure and purpose of each format. An XML sitemap is primarily created for search engines to discover important URLs, while an HTML sitemap is designed mainly to help visitors navigate a website. You can create both manually with a text editor and basic HTML/XML knowledge, without relying on a CMS, plugin, or automated sitemap generator.
XML Sitemap vs. HTML Sitemap: What Is the Difference?
Before learning how to create a sitemap manually, it is important to understand that XML and HTML sitemaps are not interchangeable. An XML sitemap communicates information about a website’s important URLs to search engines, while an HTML sitemap provides a visible collection of links that visitors can use to find pages more easily.
The create sitemap xml manually process involves building a properly formatted XML document and placing it somewhere accessible on your website. Search engine crawlers can then access that file and discover the URLs listed inside it.
The how to create html sitemap manually process is different because you are creating a normal web page containing organized HTML links. Visitors can open the page, browse categories, and reach important sections of the website directly.
| Factor |
XML Sitemap |
HTML Sitemap |
| Purpose |
Help search engines discover URLs |
Help visitors navigate the website |
| Primary audience |
Search engine crawlers |
Human visitors |
| Format |
XML |
HTML |
| Typical location |
/sitemap.xml |
/sitemap/ or /html-sitemap/ |
| Main content |
Canonical URLs |
Clickable navigation links |
| Maintenance |
Updated when important URLs change |
Updated when site structure or pages change |
| Typical use case |
SEO and crawling support |
Website navigation and usability
|
How to Create an XML Sitemap Manually
If your goal is to create sitemap xml manually, you can build the file from scratch using a basic text or code editor. You do not need specialized software, although a code editor can make XML syntax easier to read and troubleshoot.
Step 1: Identify the URLs That Should Be Included
The first step in learning how to create a sitemap manually is deciding which URLs deserve a place in the XML sitemap. The goal is not to list every URL that technically exists on the website. Instead, focus on important, canonical, indexable pages that you want search engines to discover and potentially include in search results.
For a typical website, the sitemap may include the homepage, important service pages, category pages, product pages, articles, and other valuable landing pages.
A practical URL selection process is:
- Identify your most important website pages.
- Confirm that each URL is intended to be indexed.
- Check that the URL is canonical.
- Confirm that the URL returns a successful HTTP response.
- Remove URLs that redirect or return errors.
- Remove duplicate versions of the same page.
- Keep the final list focused on useful, indexable URLs.
When you create sitemap xml manually, this filtering stage is one of the most important parts of the process because adding low-quality or inappropriate URLs can make the sitemap less useful.
URLs You Should Generally Exclude
When deciding how to create a sitemap manually, remember that an XML sitemap should generally contain URLs that are suitable for search engine discovery.
Avoid adding:
- URLs returning 404 or other error responses.
- Redirected URLs.
- Duplicate page versions.
- URLs with tracking parameters.
- Pages that should not be indexed.
- Temporary URLs.
- Internal search-result pages.
- Unimportant filtered or parameter-based URLs.
- URLs that canonicalize to another page.
For example, if /services/seo redirects to /seo-services/, the final canonical URL should generally be the one listed in the sitemap rather than the redirecting URL.
Step 2: Open a Text or Code Editor
The next part of the create sitemap xml manually process is creating a new plain-text file. You can use Notepad, Visual Studio Code, Sublime Text, or another editor capable of saving plain text.
Create a new document and save it with the filename:
sitemap.xml
Do not save it as:
sitemap.xml.txt
The final extension should be .xml.
Step 3: Add the XML Declaration
A simple manually created sitemap begins with an XML declaration:
<?xml version=”1.0″ encoding=”UTF-8″?>
This tells software processing the document that it is XML and that the document uses UTF-8 character encoding.
When you create sitemap xml manually, accuracy matters because an incorrectly structured XML document may prevent search engines from processing the sitemap correctly.
Step 4: Add the Sitemap URL Set
After the XML declaration, add the root <urlset> element with the official Sitemap protocol namespace:
<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>
Every URL entry belongs inside this root element.
A complete basic structure looks like this:
<?xml version=”1.0″ encoding=”UTF-8″?>
<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>
<url>
<loc>https://example.com/</loc>
</url>
<url>
<loc>https://example.com/services/</loc>
</url>
<url>
<loc>https://example.com/about/</loc>
</url>
<url>
<loc>https://example.com/blog/</loc>
</url>
</urlset>
This is a simple standards-compliant structure that can be used as a starting point when you create sitemap xml manually.
Step 5: Understand the XML Elements
The most important XML elements in a basic sitemap are straightforward.
| XML Element |
Purpose |
| <urlset> |
Root element containing the sitemap |
| <url> |
Container for one URL entry |
| <loc> |
Specifies the URL of the page |
| <lastmod> |
Indicates the page’s last significant modification date |
The <loc> element is essential because it identifies the URL that search engines should discover.
When you create sitemap xml manually, you may also use <lastmod> when you can provide a reliable modification date.
For example:
<url>
<loc>https://example.com/blog/seo-guide/</loc>
<lastmod>2026-08-30</lastmod>
</url>
The date should reflect a meaningful modification to the page rather than being changed simply to make the URL appear recently updated.
Step 6: Add All Important URLs
Once you know how to create sitemap xml manually, expanding the file is simply a matter of adding additional <url> elements.
For example:
<?xml version=”1.0″ encoding=”UTF-8″?>
<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>
<url>
<loc>https://example.com/</loc>
<lastmod>2026-08-30</lastmod>
</url>
<url>
<loc>https://example.com/services/</loc>
<lastmod>2026-08-25</lastmod>
</url>
<url>
<loc>https://example.com/about/</loc>
</url>
<url>
<loc>https://example.com/contact/</loc>
</url>
<url>
<loc>https://example.com/blog/</loc>
<lastmod>2026-08-28</lastmod>
</url>
</urlset>
This type of sitemap example demonstrates the basic relationship between the root element, individual URL entries, locations, and optional modification dates.
Step 7: Save the XML File Correctly
After completing the create sitemap xml manually process, save the document as sitemap.xml. Make sure your editor is not automatically adding another file extension.
The file should contain plain XML and should not contain formatting intended only for a word processor.
Before uploading it, reopen the file in your code editor and check for obvious syntax mistakes such as missing closing tags, incorrectly placed characters, or malformed URLs.
Step 8: Upload the XML Sitemap
The next step in how to create a sitemap manually is placing the XML file on your website’s server.
For most websites, a conventional location is:
https://example.com/sitemap.xml
You can upload the file through your hosting control panel, SFTP, FTP, deployment system, or another method appropriate for your website.
The exact upload process depends on how the website is hosted, but the important point is that the sitemap must be publicly accessible to search engine crawlers.
Step 9: Open the Sitemap URL in a Browser
After uploading the file, complete the create sitemap xml manually process by opening the final URL in a browser.
For example:
https://example.com/sitemap.xml
You should be able to access the file without authentication or permission errors.
If the browser returns a 404, 403, server error, or another unexpected response, investigate the file location and server configuration before submitting the sitemap to search engines.
Sitemap Management for Local Websites
When you create sitemap manually for a business targeting specific Egyptian cities or service areas, make sure the sitemap includes important location pages only when those pages provide genuine, useful content.
For example, a business targeting Cairo, Alexandria, Giza, or other locations may have dedicated landing pages. Those pages can be included when they are unique, indexable, and valuable rather than being near-duplicates created only for keywords.
A provider offering local SEO services can also review the relationship between location landing pages, internal linking, canonical URLs, and sitemap inclusion.
How to Keep a Manually Created XML Sitemap Updated
Knowing how to create a sitemap manually is only part of the process. A sitemap also needs maintenance.
Whenever you add an important indexable page, consider adding it to the sitemap. When you permanently remove a page, remove its URL from the sitemap as well.
A simple maintenance routine can include:
- Add new important pages.
- Remove deleted pages.
- Replace URLs that have permanently changed.
- Remove redirected URLs.
- Remove duplicate URLs.
- Review HTTP status codes.
- Check the sitemap after major website changes.
If the website contains only a small number of pages, this process may be manageable manually. As the site grows, however, maintaining every URL by hand becomes increasingly inefficient.
How to Create an HTML Sitemap Manually
If your objective is how to create html sitemap manually, the process involves creating a normal HTML page and organizing links so visitors can easily understand the site’s structure.
Unlike an XML sitemap, an HTML sitemap is visible to users. It should therefore be treated as a useful navigation page rather than simply a technical file containing URLs.
Step 1: Plan the HTML Sitemap Structure
Before learning how to create sitemap manually in HTML, review the website’s main categories and important pages.
A useful HTML sitemap might contain sections such as:
- Home
- About Us
- Services
- Products
- Blog
- Resources
- Contact
The exact categories should reflect the actual structure of the website.
Step 2: Create a Sitemap Page
Create a normal HTML page on your website. A common URL might be:
https://example.com/sitemap/
The how to create html sitemap manually approach does not require a special file format. You are simply creating an accessible HTML page containing organized internal links.
Step 3: Add Organized HTML Links
A basic sitemap example can look like this:
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″>
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″>
<title>HTML Sitemap</title>
</head>
<body>
<main>
<h1>HTML Sitemap</h1>
<section>
<h2>Services</h2>
<ul>
<li><a href=”/seo-services/”>SEO Services</a></li>
<li><a href=”/web-design/”>Web Design</a></li>
<li><a href=”/local-seo/”>Local SEO</a></li>
</ul>
</section>
<section>
<h2>Company</h2>
<ul>
<li><a href=”/about/”>About Us</a></li>
<li><a href=”/contact/”>Contact</a></li>
</ul>
</section>
<section>
<h2>Resources</h2>
<ul>
<li><a href=”/blog/”>Blog</a></li>
<li><a href=”/guides/”>Guides</a></li>
</ul>
</section>
</main>
</body>
</html>
This example shows how how to create html sitemap manually can be implemented with standard headings, sections, unordered lists, and links.
Step 4: Organize Large Websites Carefully
When you create sitemap manually for a large website, putting hundreds of links into one unstructured list can make the page difficult to use.
Instead, divide links into logical groups.
For example:
- Main website pages
- Services
- Products
- Product categories
- Resources
- Blog categories
- Important articles
- Contact and support pages
The goal of an HTML sitemap is useful navigation. A visitor should be able to scan the page and understand where different sections of the website are located.

Manual Sitemap Creation and SEO
When you create sitemap xml manually, remember that the sitemap is a discovery aid rather than a guarantee that every listed URL will be indexed. Search engines still evaluate the quality, accessibility, canonicalization, and other signals associated with each page.
For this reason, manually creating a sitemap should be combined with good technical SEO practices. The XML file should accurately represent the important pages that you want search engines to discover.
For businesses in Egypt, a technically clean sitemap can also support broader organic search work alongside content optimization and other technical SEO activities.
A professional SEO Agency can help review whether the sitemap accurately reflects the website’s indexable architecture, especially when a manually managed website has multiple sections or frequent content changes.
When Should You Create a Sitemap Manually?
Understanding how to create a sitemap manually is particularly useful when automated sitemap generation is unavailable or unsuitable for your website.
Manual creation can make sense in situations such as:
- A small static website.
- A custom-built website.
- A simple brochure website.
- A website with a limited number of important URLs.
- A development project without a CMS.
- A CMS that does not generate the required sitemap structure.
- A temporary project where automation is unnecessary.
For a website containing a small number of stable pages, manually maintaining an XML sitemap can be perfectly practical.
However, create sitemap xml manually becomes less attractive when a website has thousands of URLs, frequently published content, large product catalogs, or constantly changing categories.
In those situations, an automated sitemap system can reduce maintenance work and decrease the risk of missing new URLs or leaving obsolete URLs in the file.
Manual vs. Automated Sitemap Creation
The decision to create sitemap manually or automate the process should depend primarily on the size and complexity of the website.
| Website Situation |
Manual Sitemap |
Automated Sitemap |
| Small static website |
Excellent option |
Optional |
| Custom website with few pages |
Practical |
Optional |
| Large blog |
Difficult |
Recommended |
| E-commerce website |
Usually impractical |
Recommended |
| Frequently changing website |
Time-consuming |
Recommended |
| Thousands of URLs |
Not ideal |
Strongly preferred |
| Temporary project |
Practical |
Depends on setup |
The main advantage of manual creation is control. The main disadvantage is maintenance.
Dedicated Sitemap Validation
After you create sitemap xml manually, validation should be part of the workflow rather than an optional final step. A sitemap can look correct in a text editor while still containing incorrect URLs or accessibility problems.
XML Sitemap Validation Checklist
Check the following items:
- The file is valid XML.
- The XML declaration is correctly formatted.
- The <urlset> element uses the Sitemap protocol namespace.
- Every <url> element is properly closed.
- Every <loc> contains a complete URL.
- URLs use the correct canonical version.
- Listed URLs return appropriate HTTP responses.
- Redirecting URLs are excluded.
- 404 URLs are excluded.
- Duplicate URLs are removed.
- The sitemap URL is publicly accessible.
- The sitemap does not contain unnecessary URLs.
When you create sitemap manually, testing both the XML structure and the URLs themselves is important because valid XML does not automatically mean that every listed URL is suitable.
A SEO Specialist can also review your manually created sitemap to make sure it supports your website structure, includes the right indexable pages, and avoids common technical issues such as redirects, duplicate URLs, and broken pages.
HTML Sitemap Validation Checklist
For how to create html sitemap manually, validation is more focused on usability and link integrity.
Check that:
- Every important section is logically organized.
- Internal links point to the correct destinations.
- Links do not return 404 errors.
- Headings clearly describe groups of pages.
- Visitors can scan the sitemap easily.
- Important pages are not buried unnecessarily.
- The page works on mobile devices.
- The sitemap itself is accessible from the website.
An HTML sitemap should feel like a useful directory, not a technical dump of every URL on the domain.

Common Sitemap Problems and Troubleshooting
When you create sitemap xml manually, small formatting or URL problems can prevent the sitemap from working as expected. The following table provides a practical troubleshooting reference.
| Problem |
Possible Cause |
Recommended Fix |
| Invalid XML |
Syntax or structure error |
Check XML formatting and closing tags |
| Sitemap URL returns 404 |
Wrong upload location |
Verify the server path and filename |
| Malformed tags |
Missing or incorrect XML tags |
Compare the file with a valid sitemap structure |
| Missing URLs |
Pages were never added |
Review important indexable pages |
| Duplicate URLs |
Multiple versions of a page |
Keep the preferred canonical URL |
| Inaccessible sitemap |
Permissions or server restrictions |
Make the sitemap publicly accessible |
| Redirected URLs |
Old URLs remain in the file |
Replace them with final URLs |
| HTML link returns 404 |
Deleted or moved page |
Update or remove the broken link |
| Outdated pages |
Sitemap was not maintained |
Review the file after site changes |
| Wrong canonical URLs |
Non-preferred URL listed |
Replace it with the canonical version
|
How to Submit a Manually Created XML Sitemap to Google
Once you create sitemap xml manually and confirm that the file is accessible, you can submit its URL through Google Search Console.
The process is intentionally simple:
- Open Google Search Console for the relevant property.
- Navigate to the Sitemaps section.
- Enter the sitemap path, such as sitemap.xml.
- Submit the sitemap.
- Check the reported status after Google processes it.
Submitting the sitemap does not guarantee indexing. It simply provides Google with a structured way to discover the URLs you have identified.
If you need a complete walkthrough of the Search Console process, that should be handled separately from this manual sitemap creation guide.
Manual Sitemaps and GEO
When you create sitemap xml manually, technical accessibility can support the broader discoverability of your website across modern search environments. Search engines and AI-driven discovery systems need to access your website’s content successfully before other optimization signals can have an impact.
A strong best GEO agency can help businesses think beyond traditional rankings by improving content structure, entity clarity, technical accessibility, and the overall information architecture that makes important website content easier to understand.
Practical Manual Sitemap Workflow
For anyone learning how to create a sitemap manually, the complete workflow can be summarized as follows:
- Audit the website’s important pages.
- Identify canonical, indexable URLs.
- Exclude redirects, duplicates, errors, and non-indexable pages.
- Create the XML structure.
- Add the selected URLs.
- Save the file as sitemap.xml.
- Upload it to the website.
- Open the sitemap URL in a browser.
- Validate the XML and URLs.
- Submit the sitemap to Google Search Console.
- Create an HTML sitemap page if visitor navigation would benefit from it.
- Review both sitemap formats whenever the website changes.
This workflow makes it easier to create sitemap xml manually without confusing the technical XML sitemap with the visitor-focused HTML sitemap.
Frequently Asked Questions
How do I create an XML sitemap manually?
To create sitemap xml manually, open a plain-text or code editor, create a valid XML document using the Sitemap protocol, add the important canonical URLs inside <url> elements, save the file as sitemap.xml, upload it to your website, and verify that the final sitemap URL is accessible.
How do I create an HTML sitemap manually?
For how to create html sitemap manually, create a normal HTML page and organize important internal links under descriptive headings and categories. Use standard <a> elements and logical sections so visitors can easily find important pages.
Can I create a sitemap without a plugin?
Yes. You can create sitemap manually without a plugin, CMS feature, or dedicated generator. An XML sitemap can be written with a text editor, while an HTML sitemap can be created as a normal HTML page containing organized links.
Where should I upload a sitemap?
When you create sitemap xml manually, the conventional location is the website’s root directory, resulting in a URL such as https://example.com/sitemap.xml. The important requirement is that the final sitemap URL is publicly accessible.
How do I validate a manually created sitemap?
After you create sitemap xml manually, validate the XML structure, check that the sitemap can be accessed, test the listed URLs, remove redirects and errors, and confirm that the included URLs are canonical and intended for indexing.
How often should a manual sitemap be updated?
If you create sitemap manually, update it whenever important pages are added, removed, moved, or significantly changed. Small static websites may need infrequent updates, while frequently changing websites are usually better served by automated sitemap generation.
Need Help With Your Sitemap?
Creating a sitemap manually can work well for small or custom-built websites, but keeping it accurate as your website grows can become time-consuming. If you need a properly structured sitemap for a custom or manually managed website, contact Be One for technical SEO support and help creating, validating, and maintaining your website’s sitemap.