Skip to content
Toolars
Explore

PDF Compressor

Compress a PDF, compare file sizes, and download.

Local processing

Processing details

Tool inputs are processed on your device.

Resources may be downloaded to run this tool. Account services are separate.

Privacy information
Report bug
Worked example · Evaluate compression instead of promising a target size

Worked example

Evaluate compression instead of promising a target size

Use a non-sensitive scanned PDF and a text PDF as separate trials. They contain different kinds of data, so they need not shrink by the same amount. Always keep the originals: a smaller file is useful only if its content is still fit for the recipient.

Input and settings
Scanned PDF or text PDF · original retained
Expected output
Measured result · smaller size is not guaranteed

Steps to reproduce

Try the appropriate available compression mode. Read its loss and compatibility notice before running, then compare the reported input and output bytes. Review the result instead of immediately replacing the source.

Check before you use it

Open pages containing fine print, diagrams and signatures. Where a mode rasterizes pages, searchable text and interactive features may not survive. If the output is too large or loses needed features, retain the original, change the mode or use the PDF Submission workflow to evaluate a specific delivery requirement.

Task path / input to outcome

How to compress a PDF

  1. 01

    Choose one PDF

    Select Choose one PDF and open a document of up to 50 MiB with at most 500 pages. The file opens inside this tab; nothing is uploaded, and an encrypted or corrupt document is refused with a clear message instead of a hung run.

  2. 02

    Pick a compression mode

    Optimize structure: Clears PDF Info fields and rewrites the file structure. Existing text is not rasterized; file size may stay the same or grow. JPEG images only: Re-encode ordinary JPEG images while keeping text, vectors and forms. Other image encodings, masks and transparency are retained. DPI caps the longest image edge using page size; it does not measure the original effective image DPI. Strong compression: Choose 72, 100, 150, 200 or 300 DPI; the default is 150. Output size and readability depend on the source and selected settings. Strong compression rasterizes pages and removes selectable text; JPEG-images-only mode preserves page text and vectors.

  3. 03

    Compress to a size target

    Enter 0.1–50 MiB, with up to two decimal places and no thousands separators. Target mode uses fixed candidate settings; the manual quality slider does not apply. Structural optimization runs first, and if you allow image pages the search tries up to four JPEG settings at 150 DPI until the target is met.

  4. 04

    JPEG quality

    In JPEG images only or Strong compression mode, adjust JPEG quality from 0.3 to 0.9 in steps of 0.05. You can start with a preset: Low uses 0.45 quality and 100 DPI, Medium uses 0.7 and 150 DPI, and High uses 0.9 and 200 DPI. You can also choose 72, 100, 150, 200 or 300 DPI directly; the default is 150.

  5. 05

    Compress and compare

    Press Compress PDF and check the before-and-after sizes with the reduction percentage rounded to one decimal. If the result is the same size or larger, the tool says so plainly — zero for the same size, negative if larger — and still lets you download it; the file is named after yours with -compressed appended.

  6. 06

    Download and verify readability

    Open the compressed file and do the checks the byte count cannot: select a paragraph of text, zoom into a figure, confirm a signature stays legible. When the target was missed, the best completed candidate is offered instead — download it or revise the source, because size alone is not a quality verdict.

Tool facts

Processing
In your browser
Input leaves this device
Never
Retention
Optional local handoff
Price
Free

Your input stays in the browser.

PDF Compressor uses its verified local execution path and does not create a hidden input or output history.

Local execution

Runs inside the current browser tab.

No hidden processing

Active tool data never becomes a Toolars document record.

No account required

Use the core workflow without creating a profile. Favorites sync to your account after you sign in.

Workspace and handoff

Closing the tab clears normal workspace data. If you choose a handoff, the selected result stays on this device across reloads and tab closes, and can be accepted for 30 minutes. Accepting or dismissing removes it; expired records are cleared the next time the handoff feature is used.

When PDF Compressor is useful

Keep text selectable

Open a text PDF and choose Optimize structure. Compress, download, and check that you can still select text. Compare the measured byte sizes; a smaller file is not guaranteed.

Prepare a 2 MB attachment

If the portal means 2,000,000 bytes, try a 1.90 MiB target. Keep structure mode when text must remain selectable. Check the downloaded size and readability; reaching the target does not guarantee portal acceptance.

Fix an invalid target

A target of 0.09 MiB is below the allowed range. Replace it with 1.90 and run again. If the result misses the target, review the best completed output or revise the source document.

What PDF Compressor actually does

Processing runs in this browser; nothing is uploaded and no account is required. Optimize structure / JPEG images only / Strong compression. Choose 72, 100, 150, 200 or 300 DPI; the default is 150.

Common questions

Which compression modes are available?
Optimize structure: Clears PDF Info fields and rewrites the file structure. Existing text is not rasterized; file size may stay the same or grow. JPEG images only: Re-encode ordinary JPEG images while keeping text, vectors and forms. Other image encodings, masks and transparency are retained. DPI caps the longest image edge using page size; it does not measure the original effective image DPI. Strong compression: Choose 72, 100, 150, 200 or 300 DPI; the default is 150. Output size and readability depend on the source and selected settings. Strong compression rasterizes pages and removes selectable text; JPEG-images-only mode preserves page text and vectors.
Why did Optimize structure barely shrink my file?
That mode clears the PDF Info dictionary and rewrites the structure; embedded images keep their original encoding. When most bytes live inside scanned images, structure work barely moves the total. Strong compression re-renders pages as JPEGs and may reduce their size, but the result is not guaranteed to be smaller. Check the measured before-and-after sizes and the downloaded document's readability.
What does the quality slider do?
JPEG quality: 0.3–0.9. Choose 72, 100, 150, 200 or 300 DPI; the default is 150. Output size and readability depend on the source and selected settings. Strong compression rasterizes pages and removes selectable text; JPEG-images-only mode preserves page text and vectors. Enter 0.1–50 MiB, with up to two decimal places. No thousands separators. Target mode uses fixed candidate settings; the manual quality slider does not apply.
Will I lose the ability to select and search text?
Optimize structure and JPEG images only preserve existing selectable, searchable text. Strong compression turns every page into an image and removes that text layer. None of these modes adds searchable text to a scan; that requires OCR. Keep the original and verify the downloaded copy.
Can I compress an encrypted or corrupt PDF?
No. A document the engine cannot open — encrypted, password-protected, or structurally broken — is rejected with a clear message that says so, in every mode. Remove the password with the tool that issued it, then compress the decrypted file here.
Can I choose a target file size?
Enter 0.1–50 MiB, with up to two decimal places. No thousands separators. Target mode uses fixed candidate settings; the manual quality slider does not apply. Structural optimization runs first. If you allow image pages and the target is still missed, try up to four JPEG settings (85%, 75%, 65%, 55%) at 150 DPI. The search has a 60-second cancellation budget; an active engine call may take longer to stop.
A portal allows 2 MB. Should I enter 2 MiB?
No. If the portal means 2,000,000 bytes, 2 MiB is larger at 2,097,152 bytes. A 1.90 MiB target leaves a small margin, but confirm the actual output bytes and the portal rules. Inspect small text and keep the original: reaching a size target does not prove readability or acceptance.
How much smaller will my PDF get?
There is no honest universal answer, and this tool does not promise one. Structure optimization typically shaves off little on scan-heavy files; strong compression can cut them dramatically or, occasionally, produce a larger file — the result panel shows zero or a negative percentage in that case. Plan from the measured before-and-after sizes of your actual document.
Does compression remove metadata or annotations?
Optimize structure clears the PDF Info dictionary as part of the rewrite. Anything beyond that — annotations, form fields, attachments, page content — is not the compression target, so do not treat the output as a metadata-clean or redacted file. Use the dedicated metadata tool when cleanup is the goal.
How does this compare to Smallpdf or iLovePDF?
Processing runs in this browser; nothing is uploaded and no account is required. Optimize structure / JPEG images only / Strong compression When comparing services, check their current official privacy terms, processing location and usage limits. Check the downloaded result’s actual bytes, page content and readability before submitting it.

Keep reading

Related tasks, not a dead end.

Move into another focused workspace without returning to the full index.

PDF Splitter

Extract selected pages or ranges into one new PDF, in the order you choose. Files stay in your browser and the original is unchanged.

Edit

PDF Page Organizer

Reorder, delete, or extract PDF pages from a keyboard-operable thumbnail grid, and download the result without touching the original.

Edit

PDF Merger

Merge 2-12 PDFs in your chosen order — up to 50 MiB and 500 pages combined — entirely in the browser, with per-file validation.

Edit

PDF Metadata Remover

Inspect and clear PDF Info fields — Title, Author, Creator, and more — with optional XMP removal, verified after saving, locally.

Protect