Skip to content
Outrich Data

HTML and document text extractor

Drop HTML, Markdown, text, XML or JSON files and get clean readable text with scripts, styles, navigation and footers removed. Headings and lists are kept as plain lines. Several files can be processed at once, and the output is one JSONL record per file with its title, text and word count. All of it runs in your browser.

How to use it

  1. 01Drop one or more .html, .md, .txt, .xml or .json files.
  2. 02Each file is reduced to text. Page chrome such as scripts, styles, navigation and footers is removed.
  3. 03Check the file table for titles and word counts.
  4. 04Download or copy the JSONL, one record per file.

What it does not do

  • PDF and Word files are not supported. Export those documents as HTML or plain text first.
  • Only the HTML in the file is read. Content that a page loads with JavaScript is not there to extract.
  • Tables are flattened to lines of text, and code blocks in HTML lose their line breaks.

Questions

About the html and document text extractor.

Is my data uploaded anywhere?
No. The tool runs entirely in your browser. Your text and files are never sent to Outrich Data or anyone else, and nothing is stored after you close the tab. You can confirm it by turning off your internet connection after the page loads: the tool keeps working.
What is removed from an HTML page?
Script, style, navigation, footer, embedded frame and inline graphic elements, plus every tag and attribute. Headings and paragraphs become separate lines, and list items start with a dash.
How is JSON handled?
Every text value in the file is collected in order, one per line. Keys, numbers and true or false values are left out. The title comes from a top-level title or name field when there is one.
Is it safe to open HTML files from unknown sources here?
The file is parsed as inert text. Scripts in it are not run and images and other resources are not loaded.
Is it really free?
Yes. There is no account, no limit on the number of uses and no watermark. Files up to 50 MB are supported.

More free tools

Personal data scrubber

Strip names, emails, phones, cards, keys and addresses from text and files.

Dataset profiler

Rows, columns, tokens, date span, duplicates and personal-data columns in one report.

Column hasher and remover

Drop sensitive columns or replace them with salted hashes that still join.

CSV, JSON and JSONL converter

Convert between CSV, TSV, JSON and JSONL without breaking quoted cells.

JSONL validator

Find the broken lines in a JSONL file and see which keys are missing.

Duplicate remover

Remove repeated rows, records or log lines, keeping the first of each.

Token counter

Size text the way AI labs do: tokens, words, characters and lines.

Data card generator

Write the one-page description every data buyer asks for.

Data rights pre-check

A tailored checklist of the contracts and questions to clear before a sale.

Slack export parser

Turn a Slack workspace export into clean thread JSONL with pseudonymized users.

Email thread parser

Convert .mbox and .eml files into threaded JSONL without quoted replies.

Ticket export parser

Map help desk exports to customer and agent turns in conversation JSONL.

Chat dataset format converter

Convert and validate OpenAI, ShareGPT, Alpaca and prompt/completion datasets.

Log parser

Turn web server, syslog, logfmt and JSON logs into structured JSONL or CSV.

Re-identification risk checker

Measure k-anonymity and l-diversity, then preview fixes that lower the risk.

Secrets scanner

Find API keys, tokens, passwords and private keys in a repo or export before you share it.

Delivery manifest builder

Create a SHA-256 checksum manifest for a dataset delivery, with one hash to compare.

Delivery verifier

Check received files against a manifest: match, changed, missing or extra.

File checksum calculator

SHA-256 of any file, with a compare box that turns green or red.

Train, validation and test splitter

Split a dataset into train, validation and test files without leaking related rows across splits.

Dataset sampler

Pull a random, stratified or first-N sample from a file, including files too large to open.

Schema inferrer and data dictionary

Infer field types and stats from a file and export JSON Schema, a data dictionary and SQL.

Text chunker

Split documents into overlapping chunks for retrieval or training, with heading context.

Dataset diff

Compare two versions of a dataset: added, removed and changed records, plus schema changes.

Encoding and mojibake fixer

Repair garbled characters, convert files to UTF-8 and strip invisible characters.

Column toolkit

Rename, split, merge, clean, filter and sort columns with a reusable pipeline of steps.

Cleaned it up? Sell it to Outrich.

Outrich Data buys company data directly. Check in five minutes whether yours qualifies, with no call.

esc