Oskar Austegard

PDF Compressor & Text Extractor

A powerful, in-browser tool for compressing PDF files and extracting their text content using Ghostscript compiled to WebAssembly.

Live Demo Source Code

Overview

This utility provides two key functions for handling PDF files directly in your browser, ensuring your data remains completely private. You can significantly reduce the file size of a PDF by choosing from several quality presets, or you can extract all selectable text from a PDF, which is then formatted for readability and made available for download.

Features

Usage

  1. Open the PDF Compressor.
  2. Wait for the Ghostscript library to load.
  3. Drag and drop your PDF file onto the designated area, or click it to select a file.
  4. To Compress:
    • Select your desired Quality from the dropdown menu.
    • Click Compress PDF. The process may take a moment.
    • A download link for the compressed file will appear.
  5. To Extract Text:
    • Click Extract Text.
    • The extracted text will appear in a text area below, ready to be copied or downloaded.

Technical Details

Credits

Created by Oskar Austegard (@oaustegard)


For issues, feature requests, or contributions, please open an issue on GitHub.