Map Extract
Free tool

Extract text, links and values from HTML and XML files

Choose saved web pages or XML files and get what matters out of the markup: the readable text of a page without scripts, the page as Markdown, a list of every link with its text, or, for XML, every value next to the path of elements that leads to it.

Runs in your browser. Nothing you enter is uploaded.

Using the extractor

  1. Choose the view

    Plain text, Markdown, Links or XML paths. Outline (headings) and JSON are offered when they apply.

  2. Add the files

    HTML, HTM, XHTML and MHTML web archives are read as pages. XML, SVG, RSS, Atom, XLIFF, KML, GPX and plist files are read as XML.

  3. Check the format line

    The figures show the word count and the format detected, which matters when a file's extension does not match what is inside.

  4. Export

    Download or copy the view. Excel and CSV exports give the paragraphs of a page, or each XML path and its text as rows.

A saved stockist page and a sitemap

A saved where-to-buy page with a script in the head, a navigation link, two stockists in a list and a mailto link in the footer, and a small sitemap.xml.

The page's Links view lists all four links with their text, including the email link, while the script is ignored. For the sitemap, XML paths puts each value beside its path, so a sitemap becomes a list of URLs and last-modified dates you can copy into a spreadsheet.

Input
stockists.html: <h1>Where to buy</h1> ... <a href="https://marlowprint.example">Marlow Print Works</a> ... <a href="mailto:trade@kilnandco.example">
sitemap.xml: <urlset><url><loc>...</loc><lastmod>...</lastmod></url> x2
Result
Links (stockists.html):
Home                     /
Marlow Print Works       https://marlowprint.example
Pip & Parsnip Deli       https://pipparsnip.example/shop
trade@kilnandco.example  mailto:trade@kilnandco.example

XML paths (sitemap.xml):
/urlset/url/loc      https://kilnandco.example/
/urlset/url/lastmod  2026-10-01
/urlset/url/loc      https://kilnandco.example/stockists
/urlset/url/lastmod  2026-11-02

Which view for which file

You haveUseYou get
A saved competitor or partner pagePlain text or MarkdownIts wording without menus' markup or scripts
A directory or member page saved from the browserLinksEvery business link with its name
A sitemap.xmlXML pathsEach page URL and its last-modified date
An RSS or Atom feedXML paths or Plain textTitles, links and dates of each item
An MHTML web archiveAnyThe main page of the archive, read like HTML

Files, not live pages

This works on files you already have: pages saved with your browser's save page option, exports, feeds you downloaded. It never fetches anything from the web, so it cannot be blocked and it does not touch the site. A page that builds its content with JavaScript may save with little in it; save the page after it has fully loaded, or save it as an MHTML archive, which captures what the browser displayed.

Before you collect from a site at any scale, read its terms and its robots.txt. Saving a page or two for research is ordinary browsing; systematically copying a site is a different matter.

Questions people ask

How do I extract text from an HTML file?

Choose the saved .html or .htm file and the Plain text view shows the readable text of the page, with scripts, styles and markup left out. Markdown keeps headings, lists and links. Copy the result or download it. To get text from a live page, save it from your browser first, then open the saved file.

Can I get all the links from a saved web page?

Yes. The Links view lists every link on the page with its visible text and address, including relative links like / and mailto links. Copy the list, or export it, then use a domain extractor if you only need the websites the page points to.

How do I read a sitemap.xml?

Open the sitemap file here and choose XML paths. Each URL appears beside the path /urlset/url/loc and each date beside /urlset/url/lastmod. Export to Excel or CSV for a two-column list of paths and values that you can filter to URLs only.

What is an MHTML file?

MHTML, or MHT, is a single-file web archive that some browsers save, holding the page and its images together. The extractor reads the page inside it like any HTML file, so you can recover the text and links of a page saved that way without opening a browser.

Where your data goes

Markup is parsed by your browser from the files you choose; scripts in saved pages are never run. No page is fetched and no file is uploaded.

Checked against the tool on

Top