Text & web utilities

Wikipedia plain-text extractor

Import a Wikipedia article or tidy pasted plain text, then copy or download the result.

Your settings

Optional. Use a normal HTTPS /wiki/ article address, then choose Import article.

Import makes a direct request to Wikipedia. Pasted text stays on your device.

Paste plain text here, or replace this sample using Import article. HTML is not rendered.

Pasted text stays local. Article imports connect directly to Wikipedia.

Your result

Ready when you are

Enter your inputs and select Prepare text.

Report an issue

Explore the Wikipedia analysis suite →

Try it, understand it

Explore the result

Compare heading handling using the original sample shown below. The buttons change only the heading setting for your current text; they do not replace your article or request a URL.

Read the original demonstration sample
An original sample opening.

== Details ==
A short sample body.

=== More ===
Another original line.
Comparison using the demonstration sample
ExampleOutputWhat to notice
Keep the heading wordsUnicode code points86Heading markers are removed but their words remain. Your current pasted or imported article stays in place.
Remove heading linesUnicode code points73Wiki-style heading lines are removed. The body is prepared locally, without a new Wikipedia request.

Check your understanding

Does removing formatting also remove reuse obligations?

No. The article’s source and applicable terms still matter. Imported extracts keep attribution information in the copy and download actions.

Will a plain-text extract preserve every table or formula?

Not necessarily. An extract can omit information that relies on page structure, images or mathematical formatting. Check the source article when those details matter.

Behind the tool

How this tool works

Wikipedia import uses the MediaWiki plain-text extract API. The preparation step normalizes line endings and repeated blank lines and handles section-heading markers without changing ordinary words. Copying or downloading an imported extract includes source and attribution information.

THE OUTPUT RULEPlain text → normalized line endings and spacing → selected heading handling

A worked example

The sample “Hello world.” contains 12 Unicode code points and two whitespace-separated words.

Good to know

An extract may omit tables, formulas, references and other article elements. It is not a complete scholarly citation or an assurance of article accuracy. Imported material keeps its applicable reuse terms.

A clean extract is not the same as the entire page

A Wikipedia page contains article text alongside navigation, images, tables, citations and other elements. The import asks MediaWiki for a plain-text extract rather than downloading that entire presentation and pretending every element can be preserved as ordinary sentences.

Some information can therefore be missing, especially where an article relies on a formula, table or illustration. Read the source article when that context matters. A convenient extract is a starting point for notes, not a replacement for checking the underlying material.

The Wikipedia image and file extractor reports a different view of an article’s referenced media with separate source and rights notices. The Wikipedia category explorer instead lists direct category members; neither result is part of a plain-text article extraction.

An invisible character can survive ordinary formatting removal. Use the character inspector to identify a suspicious pasted code point rather than assuming blank-looking text is empty.

A little curiosity

Source information should travel with the words

Removing visual formatting does not remove an author’s contribution or the applicable reuse terms. That is why the copy and download actions include the imported article link, contributor-history link and a licence pointer. They remain separate from the prepared body in the preview so both are easy to inspect.

If you edit the imported passage locally, the copied attribution notes that change. Check the original page for additional notices and follow the relevant terms when reusing text. The tool does not certify that a particular reuse meets every requirement.

Preparation changes layout, not facts

The local step standardizes line endings, removes surplus blank lines and handles wiki-style heading markers. It does not summarize, fact-check or rewrite the sentences. Keeping the words unchanged makes it easier to compare your result with the available extract.

A word count based on whitespace is a simple token count, not a universal linguistic analysis. Likewise, Unicode code points are not always the same as the number of visible symbols: an emoji or accented sequence can contain several underlying code points.

Import is optional and explicit

Paste an HTTPS Wikipedia article address and choose Import article to make one direct request from your browser. No article request is made while you type. Use Lead only if the complete available extract is longer than you need.

If the service is unavailable or a request is cancelled, you can still paste plain text and prepare it locally. Editing the input during a pending request cancels that import so a late response does not overwrite your new text.

A few questions, answered

Does this send pasted text to Wikipedia?

No. Import sends the chosen article title to Wikipedia. Pasted article text is prepared locally and is not sent to our server.

Can I import an old revision?

This importer reads the current available article extract. Historical revision URLs are rejected rather than silently returning another version.

Can I paste raw HTML?

This field expects plain text. HTML is not rendered, executed or converted into a complete article layout.

Why is the output shorter than the page?

The extract API can omit some page elements. Check the original article for tables, formulas, figures, references and other context.

Find your calculator

Start typing to explore the library.