How to use TextFrom to extract website text

A practical guide to extracting readable text from a web page with TextFrom: prepare the page, run the extraction, and check the output for lost or altered content.

Pulling the readable text out of a web page sounds simple, but the result can quietly drop paragraphs, keep menu clutter, or change characters such as curly quotes and accented letters. This guide explains what a website text extractor like TextFrom is meant to do, how to run an extraction step by step, and how to check that the text you end up with matches what the page actually says.

What extracting website text does

A website text extractor takes a web page as input, usually identified by its address, and returns the human-readable words on that page as plain text. Plain text means characters only: no HTML tags, styling, images, or scripts. The page itself is not changed. You get a separate copy of its wording that you can paste, search, translate, count, or feed into other text tools.

Extractors differ mainly in scope. Some return everything visible on the page, including navigation menus, cookie notices, and footers. Others try to isolate the main content, such as the body of an article, and discard the rest. Which one you need depends on your goal. Quoting or analyzing an article calls for main content. Auditing everything a visitor sees calls for the full page.

What the available information does not confirm about TextFrom

No documented specifications for TextFrom were available for this guide. The following points are therefore unconfirmed, and you should check them in the tool's own help or settings before relying on the output:

  • Whether it renders pages that load their text with JavaScript, or reads only the raw HTML the server sends
  • Whether it offers a main-content mode, a full-page mode, or both
  • Which output formats it provides (plain text only, or also Markdown or other structured formats)
  • Whether it preserves headings, list structure, and paragraph breaks
  • How it handles pages behind a login, paywall, or consent screen
  • Any limits on page size, number of requests, or pricing
  • Which character encoding and line-ending style its output uses

The steps below describe a sound extraction workflow and use conditional wording wherever TextFrom's exact behavior is unknown.

Before you start

  • Open the page in a normal browser first and confirm it loads without a login. Content that requires signing in is often out of reach for extraction tools.
  • Check that you are allowed to reuse the text. Extraction makes copying easy, but the site's terms and copyright still apply.
  • Note whether the text appears instantly or only after scrolling, clicking tabs, or expanding sections. Text that appears late is usually loaded by scripts, and some extractors never see it.
  • Decide whether you need the main content or the whole page.
  • Plan to save the output as a UTF-8 text file. UTF-8 is an encoding that can represent every Unicode character, so accented letters, curly quotes, and symbols survive intact.

Step-by-step: extracting text from a web page

  • 1. Copy the full address of the page from your browser's address bar, including the part before the domain name. A partial address can point to a different page or fail.
  • 2. Give that address to TextFrom in whatever input field or prompt it provides.
  • 3. If TextFrom offers a scope setting, choose main content or full page to match the goal you decided on.
  • 4. If there is an option to keep structure, such as headings and line breaks, turn it on. Structure is easy to remove later and hard to rebuild.
  • 5. Run the extraction.
  • 6. Save the raw result immediately to a new file, for example extracted-raw.txt, before you edit anything.
  • 7. Make a working copy for cleanup and leave the raw file untouched.
  • 8. Check the result using the steps in the next sections.

Example: what goes in and what should come out

The snippet below is an illustrative example, not tested TextFrom output. It shows the kind of HTML a page might contain and the plain text a main-content extraction should produce from it.

<nav>Home | Blog | Contact</nav>
<article>
  <h1>Caf&eacute; opening hours</h1>
  <p>We&rsquo;re open 8&nbsp;a.m. to 6&nbsp;p.m.</p>
  <script>trackVisit();</script>
</article>
<footer>© Example Café</footer>

Expected main-content result (illustrative):

Café opening hours

We’re open 8 a.m. to 6 p.m.

Several things happened here. The tags and the script are gone. The navigation line and the footer were dropped because they sit outside the main content. A full-page extraction would keep them. The HTML entities were converted to real characters: é became é, and ’ became the curly apostrophe ’ (U+2019), not the straight ' (U+0027). Each   became a non-breaking space (U+00A0). It looks identical to an ordinary space but is a different character, so a search for "8 a.m." typed with a normal space may not match. A correct extraction keeps all of these characters exactly. If you need straight quotes or ordinary spaces, change them in a separate, deliberate cleanup step.

Checking the result

Compare the saved text against the live page rather than assuming the extraction was complete:

  • Confirm that the first and last paragraphs of the main content are present. Truncation usually shows at the end.
  • Check that every heading on the page appears, in the same order.
  • Open any tabs, accordions, or "read more" sections on the page and confirm their text was captured.
  • Search the output for a few distinctive phrases from the middle of the page.
  • Look for accented letters, curly quotes, dashes, and symbols, and confirm they display correctly rather than as sequences like é or ’.
  • Check whether words that sit in separate blocks on the page, such as a heading and the paragraph below it, have run together without a space or line break.

On Linux or macOS, a few standard commands make invisible problems visible. These are general-purpose checks, not TextFrom features. The grep -P lines assume GNU grep with Perl-compatible regex support and a UTF-8 locale, such as LC_ALL=C.UTF-8.

# Count lines and words in the saved output
wc -l -w extracted-raw.txt

# Report the detected encoding and line-ending style
file extracted-raw.txt

# Show lines containing non-breaking spaces (U+00A0) or zero-width spaces (U+200B)
grep -nP '\x{00A0}|\x{200B}' extracted-raw.txt

# Count lines ending in a Windows-style carriage return (CRLF)
grep -c $'\r$' extracted-raw.txt

Line endings matter when you pass the text to other tools. Windows-style files end each line with a carriage return plus a line feed (CRLF), while Linux and macOS use a line feed alone (LF). A stray carriage return can make patterns that use the end-of-line anchor $ fail silently. If you need LF endings, convert into a new file so the raw copy stays intact:

tr -d '\r' < extracted-raw.txt > extracted-lf.txt

Keeping the extracted text safe

Extraction never alters the website, so the risk lies on your side: overwriting a good copy during cleanup, or losing text that cannot be extracted again. Pages change and get taken down, so a later re-run may not return the same wording. To protect the content:

  • Keep the untouched raw output as its own file and never edit it in place.
  • Write every cleanup step, such as quote straightening, whitespace trimming, or line-ending conversion, to a new file.
  • Record the date you extracted the page alongside the file, so you know which version of the page the text reflects.
  • If exact wording matters, for example for quotation or compliance records, also save the page from your browser so you have a reference to compare against.

Common problems and what they usually mean

Symptom | Likely cause | What to try
Output is empty or only shows a short notice | Text is loaded by JavaScript, or the page requires a login or consent click | Check whether TextFrom can render scripts; otherwise copy the text from the loaded page in a browser
Menus, footers, and cookie banners are mixed into the text | Full-page scope was used | Switch to a main-content option if one exists, or delete the extra lines in your working copy
Characters appear as é or ’ | UTF-8 text was read as a different encoding such as Windows-1252 | Reopen the file explicitly as UTF-8 before editing; do not hand-correct the garbled characters
Headings and paragraphs run together | Block boundaries were not converted to line breaks | Enable any structure-preserving option, or re-extract rather than guessing where breaks belong
A search for a phrase fails although the text looks right | Invisible characters such as U+00A0 or U+200B, or CRLF line endings | Run the checks above to locate them, then normalize them in a copy
Text from tabs or expandable sections is missing | That content loads only after interaction | Capture those sections separately and note that they were added by hand