Wikipedia Article Extractor
Paste a Wikipedia article URL and get the page content as clean plain text, Markdown, HTML, raw wikitext, or a parsed syntax tree.
Input
Output
Readme
What is a Wikipedia article extractor?
A Wikipedia article extractor pulls the content of a Wikipedia page and converts it into a clean, structured format that's easier to reuse than the original wiki page - whether that's plain text for reading offline, Markdown for notes and documentation, HTML for embedding, or the raw wikitext markup used internally by MediaWiki. This is useful for researchers, writers, and developers who need article content outside of a browser, without unrelated page chrome like navigation menus, ads, or edit links.
Tool description
This tool fetches a Wikipedia article directly from its URL and extracts its content into your choice of six formats: plain text, Markdown, HTML, raw wikitext, an AST (JSON) representation of the parsed structure, or a downloadable PDF. You can fine-tune what's included - headings, lists, tables, links, references, images, templates, and categories - then copy the result or download it as a file.
Features
- Fetches any public Wikipedia article directly from its URL, across all Wikipedia language editions
- Six output formats: plain text, Markdown, HTML, raw wikitext, AST (JSON), and PDF
- Granular content options to include or exclude headings, lists, tables, links, references, images, templates, and categories
- Live character and word counts for the extracted content
- Syntax-highlighted output viewer with line numbers and word wrap
- Download the result as a file in the matching format (
.txt,.md,.html,.wiki,.json, or.pdf)
How to use
- Paste a Wikipedia article URL, e.g.
https://en.wikipedia.org/wiki/Dog - Click "Fetch article" to load the page content
- Choose an output format: Plain text, Markdown, HTML, Raw wikitext, AST (JSON), or PDF
- Toggle the content options (headings, lists, tables, links, references, images, templates, categories) to control what's included
- Review the extracted content, character/word counts, and download the result if needed
Tips
- The language and article title are read directly from the URL, so pasting a link to any Wikipedia language edition (not just English) works
- Content options only apply to Text, Markdown, HTML, and PDF formats - Raw wikitext and AST always return the full, unfiltered source
- Turn off "References" and leave "Templates" off (the defaults) for the cleanest reading copy of an article, since these often add clutter that isn't part of the core prose
- Use the AST (JSON) format if you need to inspect or programmatically process the article's parsed structure
FAQ
Which Wikipedia language editions are supported?
Any Wikipedia language edition is supported - just paste the article URL from that language's subdomain (e.g. de.wikipedia.org, ja.wikipedia.org).
Why is a link or template missing from my output? Check the content options - links, templates, categories, images, and references are each individually toggleable and some are turned off by default.
Does this tool modify or save the Wikipedia article? No - it only reads the article's public content for extraction and display. Nothing is uploaded to or stored on Wikipedia.
Can I get the exact original wiki markup? Yes - select "Raw wikitext" as the output format to see the unmodified source markup exactly as stored on Wikipedia.