Skip to content
    Moz logo Menu open Menu close
    • Products
      • Moz Pro
      • Moz Pro Home
      • Moz Local
      • Moz Local Home
      • STAT
      • Moz API
      • Moz API Home
      • Compare SEO Products
      • Moz Data
    • Free SEO Tools
      • Domain Analysis
      • Keyword Explorer
      • Link Explorer
      • Competitive Research
      • MozBar
      • More Free SEO Tools
    • Learn SEO
      • Beginner's Guide to SEO
      • SEO Learning Center
      • Moz Academy
      • MozCon
      • Webinars, Whitepapers, & Guides
    • Blog
    • Why Moz
      • Digital Marketers
      • Agency Solutions
      • Enterprise Solutions
      • Small Business Solutions
      • The Moz Story
      • New Releases
    • Log in
    • Log out
    • Products
      • Moz Pro

        Your all-in-one suite of SEO essentials.

      • Moz Local

        Raise your local SEO visibility with complete local SEO management.

      • STAT

        SERP tracking and analytics for enterprise SEO experts.

      • Moz API

        Power your SEO with our index of over 44 trillion links.

      • Compare SEO Products

        See which Moz SEO solution best meets your business needs.

      • Moz Data

        Power your SEO strategy & AI models with custom data solutions.

      Track AI Overviews in Keyword Research
      Moz Pro

      Track AI Overviews in Keyword Research

      Try it free!
    • Free SEO Tools
      • Domain Analysis

        Get top competitive SEO metrics like DA, top pages and more.

      • Keyword Explorer

        Find traffic-driving keywords with our 1.25 billion+ keyword index.

      • Link Explorer

        Explore over 40 trillion links for powerful backlink data.

      • Competitive Research

        Uncover valuable insights on your organic search competitors.

      • MozBar

        See top SEO metrics for free as you browse the web.

      • More Free SEO Tools

        Explore all the free SEO tools Moz has to offer.

      NEW Keyword Suggestions by Topic
      Moz Pro

      NEW Keyword Suggestions by Topic

      Learn more
    • Learn SEO
      • Beginner's Guide to SEO

        The #1 most popular introduction to SEO, trusted by millions.

      • SEO Learning Center

        Broaden your knowledge with SEO resources for all skill levels.

      • On-Demand Webinars

        Learn modern SEO best practices from industry experts.

      • How-To Guides

        Step-by-step guides to search success from the authority on SEO.

      • Moz Academy

        Upskill and get certified with on-demand courses & certifications.

      • MozCon

        Save on Early Bird tickets and join us in London or New York City

      Access 20 years of data with flexible pricing
      Moz API

      Access 20 years of data with flexible pricing

      Find your plan
    • Blog
    • Why Moz
      • Digital Marketers

        Simplify SEO tasks to save time and grow your traffic.

      • Small Business Solutions

        Uncover insights to make smarter marketing decisions in less time.

      • Agency Solutions

        Earn & keep valuable clients with unparalleled data & insights.

      • Enterprise Solutions

        Gain a competitive edge in the ever-changing world of search.

      • The Moz Story

        Moz was the first & remains the most trusted SEO company.

      • New Releases

        Get the scoop on the latest and greatest from Moz.

      Surface actionable competitive intel
      New Feature

      Surface actionable competitive intel

      Learn More
    • Log in
      • Moz Pro
      • Moz Local
      • Moz Local Dashboard
      • Moz API
      • Moz API Dashboard
      • Moz Academy
    • Avatar
      • Moz Home
      • Notifications
      • Account & Billing
      • Manage Users
      • Community Profile
      • My Q&A
      • My Videos
      • Log Out

    The Moz Q&A Forum

    • Forum
    • Questions
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

    Browse the forum for helpful insights and fresh discussions about all things SEO.

    1. Home
    2. SEO Tactics
    3. Link Building
    4. Sitemap.xml change to anchor links (converter)

    Moz Q&A is closed.

    After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

    Sitemap.xml change to anchor links (converter)

    Link Building
    2
    2
    835
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with question management privileges can see it.
    • Dreamgame2016
      Dreamgame2016 last edited by

      Hi all,

      I would like import the sitemap.xml to an anchorlinks list. List with links navigatetion html ^^. Is there a posibility to use a tool or in excel? Because I will use 5000 products and 1000 brands.

      1 Reply Last reply Reply Quote 0
      • CleverPhD
        CleverPhD last edited by

        I think I understand what you are trying to do, but I may be off with the semantics. The xml sitemap (at it's most basic level) is just a centralized list of links for pages that are on your site to help the search engines find pages without having to crawl all of the pages on your site. They do not contain any anchor text in them.

        If you are wanting to crawl your site and find out what all your anchor text is internally, I would use a tool like Screaming Frog.

        If you are trying to extract information from your sitemap.xml then you would need to use a combination of a text editor and excel.  Say your URL structure includes product and brand information and you have all the URLs in a sitemap.  You can pull that document into a text editor and then use the "Find and replace" function to get rid of all the extraneous code and then you can be left with just the URLs on one line.  You can then use the excel function "Text to columns" to then split out the URL into sections based on slashes or dashes.  If you have Screaming Frog, it will extract all the URLs for you and then you can split out the info in excel as well.  Use Google to find examples of how to run the tools mentioned above in detail.

        If I am totally off, please give a more detailed explanation of what you are trying to do and that will help as well.

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post

        Got a burning SEO question?

        Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


        Start my free trial


        Browse Questions

        Explore more categories

        • Moz Tools

          Chat with the community about the Moz tools.

        • SEO Tactics

          Discuss the SEO process with fellow marketers

        • Community

          Discuss industry events, jobs, and news!

        • Digital Marketing

          Chat about tactics outside of SEO

        • Research & Trends

          Dive into research and trends in the search industry.

        • Support

          Connect on product support and feature requests.

        • See all categories

        Related Questions

        • SolveWebMedia

          Should I disavow these links?

          backlinks toxicbacklinks audit backlinkaudit disavow

          Hi all, I have a ski website that I am currently performing a toxic backlink audit on. I have noted that a lot of the links being flagged as toxic/spammy by the tool I am using seem to be the same/similar sites with different URLs. The sites are vaguely related to skiing (relating to helicopter travel options for travelling to ski resorts) but it is concerning me that there are so many of them and they are being flagged as so toxic.
          Do you think it is worth disavowing these? Or contacting the owner to ask them to remove the link? I have included an example of some of the links below. https://www.cannes-helicopters.co.uk/index.php?menuopen=21&showcontent=5
          https://nice-helicopter.co.uk/index.php?menuopen=21&showcontent=5
          https://monaco-helicopter.co.uk/index.php?menuopen=21&showcontent=5 Slightly different site but same favicon icon:
          https://monaco-helicopter.co.uk/index.php?menuopen=21&showcontent=5
          https://www.whitetracks-holidays.com/Helicopter_Transfers_Villars_Switzerland.htm Thanks in advance for any advice / help!

          Link Building | | SolveWebMedia
          0
        • moon-boots

          Xyz links

          I have a lot of backlinks ending with .xyz, around 20%, and they look very suspicious. Should I disavow these? Here are a few: yourrelicsbargains.xyz fantasticsiteinfo.xyz yourvintagelifestyle.xyz usefuldiscount4u.xyz bestdealsaction.xyz bestmemorabilialifestyle.xyz 59177.net lovecollectorsbargains.xyz

          Link Building | | moon-boots
          0
        • fersu

          How many links per week/month should a link building campaign acquire?

          I am running a linkbuilding campaign for my company.  I am mostly focusing on guest blogging opportunities and responding to emails from HARO.  How many links would I have to acquire each week or month to be considered doing a good job over a 6 month or a year time period? Thank you,

          Link Building | | fersu
          0
        • SixTwoInteractive

          Link Exchange

          Hi everyone, I just started working for a client in a new niche. After reviewing the backlink profiles of his competitors I can see that the top sites are using a ton of link exchanges. They are from really spammy sites too. The kind that will link to anyone that provides a link back. Anyone else seeing much of this?

          Link Building | | SixTwoInteractive
          0
        • pauledwards

          Changing links

          Hi guys i wanted you views on changing the anchor text of links. I have quality links coming in but with year terms such as 2012 in there, if i want to change them all to 2013 for example would it be badly seen by Google? I cant say i feel comfortable about doing it but they are my links and are related to our products. Any advice much appreciated.

          Link Building | | pauledwards
          0
        • TampaSEO

          Link Building Ideas?

          Hi everyone, I am currently working on a site where people can buy mail-order bagels, i.e. the bagels are shipped via postal mail. It's a good alternative for places that have no good bagel stores nearby, especially in small, rural towns. I am about to launch a link-building campaign for the website, but am a little stuck as to where to begin. My first thought was guest posting, but it seems like the vast majority of food blog owners are very protective of their blogs and rarely, if ever, allow guest posts. I also thought about doing sponsored reviews (i.e. sending mommy bloggers free samples in exchange for a review), but that's essentially a paid link, i.e. a no-no. There are of course generic web directories, but those only get you so far, and article marketing is out of the question (too spammy). Was hoping I might be able to bounce off some ideas off of you all. Any thoughts? Thank you in advance for whatever tips/ideas you might be able to share 🙂 Lukas

          Link Building | | TampaSEO
          0
        • ec9awp

          Remove links or change anchor text?

          I am currently in the process of cleaning up the link profile for a website that has been hit by Penguin thanks to loads of links from free directories with exact match keyword anchor texts (about 200 root domains from total of 300 root domains). I was wondering whether it's best to remove these un-natrual keyword anchor text links altogether, or change the anchor texts to brand (domain name, domainname.com, www.domainname.com, http://www.domainname.com)? I am currently trying to remove these links but was thinking it would be quicker to get to a healthier link profile (in terms of brand/commercial anchor text split) by altering the anchor texts and not removing them. Some of these directories are the worst of the worst on the other hand. Also note that I'm only really getting about a 30% response rate from the owners of these directories. Any thoughts? Many thanks in advance.

          Link Building | | ec9awp
          0
        • ScottBaxterWW

          Having a link from a foreign site

          I just ran an OSE on a competitor of ours that they have a few links from this website, http://www.tz-online.de/ would this not damage there site?

          Link Building | | ScottBaxterWW
          0

        Get started with Moz Pro!

        Unlock the power of advanced SEO tools and data-driven insights.

        Start my free trial
        Products
        • Moz Pro
        • Moz Local
        • Moz API
        • Moz Data
        • STAT
        • Product Updates
        Moz Solutions
        • SMB Solutions
        • Agency Solutions
        • Enterprise Solutions
        • Digital Marketers
        Free SEO Tools
        • Domain Authority Checker
        • Link Explorer
        • Keyword Explorer
        • Competitive Research
        • Brand Authority Checker
        • Local Citation Checker
        • MozBar Extension
        • MozCast
        Resources
        • Blog
        • SEO Learning Center
        • Help Hub
        • Beginner's Guide to SEO
        • How-to Guides
        • Moz Academy
        • API Docs
        About Moz
        • About
        • Team
        • Careers
        • Contact
        Why Moz
        • Case Studies
        • Testimonials
        Get Involved
        • Become an Affiliate
        • MozCon
        • Webinars
        • Practical Marketer Series
        • MozPod
        Connect with us

        Contact the Help team

        Join our newsletter
        Moz logo
        © 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
        • Accessibility
        • Terms of Use
        • Privacy

        Looks like your connection to Moz was lost, please wait while we try to reconnect.