> ## Documentation Index
> Fetch the complete documentation index at: https://docs.staplr.online/llms.txt
> Use this file to discover all available pages before exploring further.
> For every page in one file, fetch https://docs.staplr.online/llms-full.txt (large).
> To search and read these docs as tools, connect the MCP server at https://docs.staplr.online/api/mcp.
> Every agent surface: https://docs.staplr.online/.well-known/llms-manifest.json

# Convert To and From PDF (/documentation/pdf-tools/convert-to-and-from-pdf)

<!-- agent-signals: reading_time_min: 2 · est_tokens: 521 · updated: 2026-12-03 -->
Related: [Organize PDFs](/documentation/pdf-tools/organize-pdfs.md), [Edit, Sign and Fill PDFs](/documentation/pdf-tools/edit-sign-and-fill-pdfs.md), [Optimize and Secure PDFs](/documentation/pdf-tools/optimize-and-secure-pdfs.md), [Staplr vs iLovePDF, Smallpdf, PDF24 and Adobe Acrobat](/documentation/compare-and-choose/staplr-vs-ilovepdf-smallpdf-pdf24-and-adobe-acrobat.md)

> Choose a tool based on what you have and what you need to get out of it.

Use Staplr to create a PDF, turn PDF pages into images, recover text or images, or check what changed between two versions. Staplr processes your files on your device without uploading them.

## Create a PDF from another file

Choose the conversion tool for your source file:

| Source                 | Input formats              |
| ---------------------- | -------------------------- |
| Images                 | JPG, PNG, HEIC, WebP, TIFF |
| Ebooks and comics      | EPUB ebooks, CBZ comics    |
| Text and web documents | TXT, Markdown, HTML        |

For example, if you photographed a receipt on your iPhone and the file is HEIC, use HEIC to PDF. Open the resulting PDF and check that the whole receipt is visible and the total is legible. If you convert several receipts separately, merge the PDFs and check the page order in the combined file.

## Turn PDF pages into images or extract content

Use PDF to JPG or PDF to PNG when you need an image of the whole page, including its text and layout. Use Extract Images when you want the images embedded in the PDF without the rest of the page. Open the output to check that you got the full page or the individual images you needed.

Use PDF to Text when the PDF already contains selectable text. Check that the extracted text includes the passage you need and reads in the right order. If you can see the words but can’t select them, as with a scanned page, use OCR.

## Recognize text in a scan with OCR

Use [OCR](https://staplr.online/ocr/) when the words are part of a page image. Staplr runs Tesseract on your device to recognize the text. Check a few words, names, or numbers against the scan before relying on the result. For a receipt, compare the date and total with the original.

## Compare two PDF versions

Use Compare PDFs when you have an original and a revised copy. Choose the two files you intend to compare, then check the reported differences against the corresponding pages in both PDFs before deciding which changes to keep.
