# Wiki Page to PDF

Render a wiki page URL into a clean, print-ready PDF

> Canonical page: https://elysiatools.com/en/tools/wiki-page-to-pdf

- **Category:** Document Tools

- **Keywords:** wiki, wikipedia, mediawiki, documentation, pdf, puppeteer

## Overview

Capture a wiki page as a PDF.

**Input:**
- Wiki page URL (Wikipedia, MediaWiki, Confluence, etc.)
- Optional content selector for main article body

**Output:**
- PDF with print-friendly formatting and optional page margins

## Inputs

- **Wiki Page URL** (text): https://en.wikipedia.org/wiki/Example
- **Content Selector** (text): Optional CSS selector to target article content only
- **Base Font Size (px)** (number)
- **Page Size** (select)
- **Landscape** (checkbox)
- **Print Background** (checkbox)
- **Margin Top (mm)** (number)
- **Margin Bottom (mm)** (number)
- **Margin Left (mm)** (number)
- **Margin Right (mm)** (number)
- **Wait Until** (select)
- **Extra Wait Time (ms)** (number)

## When to use

- Archiving important documentation from internal Confluence or MediaWiki sites.
- Creating offline, print-ready versions of long-form Wikipedia articles.
- Standardizing web-based wiki content into a consistent PDF format for reports.

## How it works

- Enter the URL of the wiki page you wish to convert.
- Optionally provide a CSS selector to isolate the main article body and remove navigation sidebars.
- Adjust page settings like size, orientation, and margins to suit your layout requirements.
- Click generate to render the page into a high-quality PDF file.

## Use cases

- Exporting technical documentation for offline team review.
- Saving research articles from Wikipedia for academic reference.
- Converting project wikis into formatted handouts for meetings.

## Frequently asked questions

### Can I capture only the article content?

Yes, use the 'Content Selector' field to specify a CSS selector (e.g., .mw-parser-output) to exclude headers, footers, and sidebars.

### Does it support background images?

Yes, the 'Print Background' option is enabled by default to ensure images and CSS styles are included in the PDF.

### What happens if the page takes time to load?

You can adjust the 'Wait Until' setting or add 'Extra Wait Time' to ensure all dynamic elements are fully rendered before the PDF is created.

### Can I change the page orientation?

Yes, simply toggle the 'Landscape' checkbox to switch between portrait and landscape orientations.

### Are there limits to the page size?

The tool supports standard document sizes including A4, Letter, Legal, and A5.

## Related tools

- [PDF to Text Advanced](https://elysiatools.com/en/tools/pdf-to-text-advanced): Advanced PDF to text converter with page selection, formatting options, and metadata extraction
- [PDF Header/Footer Noise Remover](https://elysiatools.com/en/tools/pdf-header-footer-noise-remover): Compare extraction with and without repeated page furniture to spot header/footer noise before using PDF text in RAG, summarization, or editing workflows
- [PDF to Clean Text for LLM](https://elysiatools.com/en/tools/pdf-to-clean-text-for-llm): Extract clean text from PDFs with OpenDataLoader for summarization, translation, embedding, and other LLM workflows
- [PDF Text Extractor](https://elysiatools.com/en/tools/pdf-text-extractor): Extract text content from PDF documents with support for page selection, formatting options, and multi-language processing
- [PDF Clean (PDF清理工具)](https://elysiatools.com/en/tools/pdf-clean): Remove metadata, annotations, bookmarks, and form fields from PDF files
- [GitHub README to PDF](https://elysiatools.com/en/tools/github-readme-to-pdf): Fetch a GitHub README and render it to a styled PDF
- [PDF Delete Pages](https://elysiatools.com/en/tools/pdf-delete-page): Delete specified pages from a PDF document
- [OCR PDF to Structured JSON Bridge](https://elysiatools.com/en/tools/ocr-pdf-to-structured-json-bridge): Extract the PDF text layer with geometry (lines by y-position, tables by column gaps, headings by font size, colon key-value pairs), then fill a user-supplied JSON Schema field by field — labels matched by normalized keys, values coerced to declared types and validated with ajv.

## Samples

- [PDF Samples](https://elysiatools.com/en/samples/pdf-samples): Generated PDF samples from tools dated 2026-02-01 to 2026-02-10
- [Markdown Slide Deck Samples](https://elysiatools.com/en/samples/md-slide-deck-to-pdf): Remark/Marp style Markdown slide decks for testing PDF export layouts
- [Cypress E2E Testing Framework](https://elysiatools.com/en/samples/cypress-testing): Comprehensive Cypress end-to-end testing examples including test setup, page object models, API testing, visual regression testing, and advanced E2E patterns for modern web applications
- [Storybook Samples](https://elysiatools.com/en/samples/storybook-samples): Comprehensive Storybook examples for component development, testing, documentation, and design system management

## Related content

- [PDF Conversion, OCR, and Extraction Workflow](https://elysiatools.com/en/hubs/pdf-convert): Turn office files, wiki pages, comments, and images into PDFs, then extract text, images, tables, structure, or OCR layers from existing PDFs.
