PDF Workbench user guide

Organize and convert documents on your device. See how your files stay local, how to work offline, and how to host the web app yourself.

Privacy and local processing

No account is required. The files you open, their thumbnails, and your results stay on your device whether you use the public website, a self-hosted copy, or a native app.

Files and results

The web app reads files in your browser and uses WebAssembly to preview, convert, run OCR, and export. Native apps keep generated results in a local app cache before you choose where to save them.

Offline cache

The browser’s offline cache contains app assets such as engines, fonts, and OCR models. Preferences and favorites are stored locally. Select your files again when you reopen the app.

Network requests

The web app downloads static assets from its host. Selecting Check for updates in Settings requests release information from GitHub. Your documents, previews, and results are never uploaded by the app.

Before sharing a PDF, you can clear fields like title and author with Edit PDF Metadata. Use Permanently Redact PDF to remove sensitive page content. Cropping only changes the visible area.

Offline use

  1. On your first visit, make sure the browser can reach the site over HTTPS or on localhost.
  2. Wait for “Ready to use offline.” You can check the status in Settings.
  3. Bookmark the app URL. When offline, reopen that address in the same browser and select your files again.

If you clear site data, reconnect to the site to prepare the resources again. After an update, close all app tabs and reopen the app.

Self-host the serverless web app

The web app only needs static file hosting. The engine runs in your browser without a backend API, database, or file storage service.

  1. Download and extract pdf-workbench-web.zip from the releases page. To build from source, run make web and use the files in dist/web/.
  2. Publish all files at the site root or a subpath such as /pdf-workbench/. Configure the static host to serve WASM as application/wasm.
  3. Open app/ under the published path. Use HTTPS or localhost to enable offline caching.

Download the Web ZIP

Run locally with Python

Run this command in the extracted directory containing index.html and app/. If you built from source, run it from dist/web/.

python3 -m http.server 8080 --bind 127.0.0.1

Run locally with Docker Compose

To use Compose, run this command in the repository root. Compose publishes the port on the host’s loopback address by default. Caddy serves precompressed Brotli and gzip files.

docker compose up --build -d

Open the local app

Deploy to GitHub Pages

In the repository settings, set the GitHub Pages deployment source to GitHub Actions. The workflow for main publishes the same static web files.

Tool groups and favorites

Find tools by page organization, import, export, editing, layout, security, or inspection. On desktop, select a group heading to expand or collapse it.

Select the outlined star beside a tool title to pin it in Favorites. A filled star marks a favorite. Select it again to remove the tool. The app stores favorites on your device or in your browser.

Convert documents

  1. Open Convert to PDF or choose a specific format tool, then select a local file.
  2. For XLSX, enter an exact worksheet name or leave the field blank to include all visible sheets.
  3. Generate the result. Check the preview and any layout warnings before saving.

Office and OpenDocument

DOCX, XLSX, PPTX, ODT, ODS, ODP, and ODG. XLSX uses saved cell values and shows the formula when a result is missing. ODP and ODG reflow readable content.

Text and webpages

TXT, Markdown, HTML, RTF, EML, and EPUB. To include local stylesheets and images, put them in a ZIP with index.html at its root.

Images

Add JPEG, PNG, WebP, or TIFF in batches. Export PDF pages as JPEG, PNG, or TIFF at 72, 150, or 300 DPI. Multiple exported pages save as a ZIP.

From PDF to text formats

HTML, Markdown, RTF, EPUB, and TXT export selectable text in page order. Use OCR on scanned pages first.

Use PDF to Excel to extract tables from text PDFs or English and Simplified Chinese scans. Select pages, draw boxes around tables, or scan the whole document. Review and edit cells before saving the XLSX. Each detected table has its own worksheet, including tables that continue on another page.

Browse pages of an exported image ZIP before saving. Back to input returns to your settings, and Result preview reopens the generated file.

Planned formats include DOC, PPT, XLS, PUB, HEIC, SVG, OFD, UDF, and PostScript, plus PDF export to DOCX, PPTX, ODT, ODS, ODP, and SVG.

Interface screenshots

The same DOCX conversion result at three viewport sizes. Select a screenshot to view it at full size.

Desktop workspace showing Favorites and grouped tools alongside the PDF preview and save controls
Desktop · 1440 × 900
Portrait tablet showing the result toolbar, PDF preview, and Save PDF button
Tablet · 820 × 1180
Phone screen with the DOCX to PDF result preview and Save PDF button
Phone · 390 × 844

Merge PDFs

  1. Open Merge PDFs and select at least two PDFs. You can select up to 100 at a time and use Add PDFs to add more.
  2. Move files up or down, or remove them. The original page order within each file stays intact.
  3. Choose Merge PDFs, then save merged.pdf.

Try the two samples below. Move B above A to get Page B followed by Page A.

Organize pages

  • To split a PDF, add a split point after the last page of each part or split it into single pages. The ZIP preserves page order.
  • Extract or delete multiple pages. Extraction keeps the original order, and deletion must keep at least one page.
  • Rotate selected pages 90°, 180°, or 270° clockwise and review the result in the preview.
  • Drag the handle to reorder a page. On touch screens, hold the handle before dragging. Move up and Move down are also available.

Editing, compression, and images

  • Compress. Balanced mode can shrink embedded JPEGs. Lossless mode optimizes the PDF structure. Check the size comparison after generation.
  • Watermark and number pages. Add Chinese or English text, a PNG or JPEG watermark, or page numbers to all or selected pages.
  • Crop. Adjust the margins in millimeters and use the preview outline to check the visible area. The cropped PDF retains content outside that area.
  • Document information. Keep, set, or clear the title, author, subject, and keywords.

Image imports support batches. Export formats and resolutions are listed under Convert documents.

Security, layout, and OCR

  • Protect or unlock a PDF with a known password. Document Information shows page dimensions, fonts, and encryption status.
  • Extract embedded images, export page text, or search for text and jump to a matching page.
  • Resize pages, arrange two or four pages per sheet, create booklets, or split scanned spreads in half.
  • Fill existing AcroForm fields or place notes, rectangles, and highlights.
  • Permanent redaction rebuilds each page from the processed pixels. The result contains page images.
  • OCR adds a searchable text layer to scans in Simplified Chinese, English, or both. The models are bundled with the app.

Native apps

The release page provides a Windows x64 EXE and Android arm64 APK. Uninstall any version signed with the old debug key before installing the new APK. The conversion tools build for both platforms, and offline runtime testing is pending. Build Linux and Apple apps from source.

Download apps and SHA-256 checksums

Troubleshooting

A PDF is damaged or password-protected

Use a readable copy or unlock the document with its password before adding it again.

The first offline download is interrupted

Keep the app open so it can retry when the connection returns, or reload while online and wait for the ready message.

The result generates but the preview fails

You can still save the generated file. Retry the preview or go back to adjust your input.