Compress Documents Online

Compress documents free online. Reduce PDF, Word, Excel, PowerPoint sizes. Quality control, instant compression, no registration, secure online tool.

Compress Documents Online

Reduce document file sizes with quality control settings - PDF, Word, Excel, PowerPoint

Drop your documents here

or click to browse files

Supports all document formats • Multiple files • no fixed limit (practical limits depend on the tool, file size and device)
35+ Document Formats
Quality Control Settings
Secure Private & Safe

How much each format actually shrinks

We ran the same engines this page uses in your browser over one test document and measured every result. The source was a report with headings, styled text, tables, lists and two photographs, so the numbers below show what compression can and cannot do for each format.

Source: one report document, converted to each format, then compressed with the engines this page runs in your browser.

FormatHow we compress itBeforeAfterSavedWhat that means
PDFGhostscript rebuild1082.3 KB178.4 KB83.5%Images downsampled to the preset you pick
HTMLMinify + gzip1331.6 KB997.5 KB25.1%Strips comments and whitespace between tags
XLSXZIP repack, level 9142.1 KB135.8 KB4.4%Repetitive sheet data compresses a little further
DOCXZIP repack, level 9997.5 KB997.9 KB0%Already well compressed by Word; little left to take
ODTZIP repack, level 9993.5 KB993.5 KB0%Same story as DOCX
EPUBZIP repack, level 9995 KB995.4 KB0%Size is dominated by the cover and inline images
RTFWhitespace minify2097.6 KB2097.6 KB0%Convert to DOCX if size matters
CSVWhitespace minify167.1 KB167.1 KB0%Already minimal; zip it instead
TXTWhitespace minify9.3 KB9.3 KB0%Already minimal; zip it instead
  • PDF is where compression pays off. Rebuilding the file cut it from 1082.3 KB to 178.4 KB, a 83.5 reduction, because the images inside get downsampled.
  • Office formats such as DOCX, ODT and EPUB are ZIP archives that the program already compressed when it saved them. Repacking them at maximum settings usually recovers only a few percent, and sometimes nothing at all.
  • The exception is a file whose contents were stored without compression, which some exporters and older versions of Word produce. In that case the same repack cut a 413.4 KB document down to 11.3 KB.
  • Plain-text formats such as TXT, CSV and RTF hold almost no slack. If you need them smaller, put them in a ZIP archive rather than compressing them in place.

What the PDF presets do

The four quality presets map to different image resolutions inside the PDF. On our test file Fast produced 343.2 KB, Normal 178.4 KB, Maximum 1007.8 KB and Ultra 1004.7 KB, from a 1082.3 KB source. Maximum and Ultra keep the original image resolution, so they save the least but preserve print quality.

Measured on one representative document. Your own files will differ, especially depending on how many images they contain and which program saved them.

Supported Document Formats

Compress all major document file types with adjustable quality settings

Word Processing

DOC

Microsoft Word's legacy binary format (Word 97-2003).

Converted to DOCX first, then repacked.

Old binary files usually shrink most on this path.

DOCX

Microsoft Word's XML-based format, 2007 onward.

Every part is unpacked and repacked at maximum ZIP compression.

Files already saved well by Word barely move; poorly saved ones shrink a lot.

ODT

The OpenDocument text format from OASIS.

Unpacked and repacked at maximum ZIP compression.

Gains depend on how the original was written to disk.

RTF

Rich Text Format, Microsoft's portable text format.

Redundant whitespace is stripped from the markup.

RTF is plain text, so savings are modest unless it is heavily padded.

DOCM

A Word document that carries VBA macros.

Repacked at maximum ZIP compression, macros untouched.

The macro project is preserved exactly.

DOT

The legacy Word template format (97-2003).

Repacked like any other Word container.

Template behaviour is unchanged.

DOTX

The modern Word template format, 2007 onward.

Unpacked and repacked at maximum ZIP compression.

Styles and layout survive intact.

DOTM

A Word template that also carries macros.

Repacked at maximum ZIP compression with macros kept.

Both the layout and the VBA project are preserved.

ABW

The native format of the AbiWord word processor.

Whitespace-minified, then re-gzipped at maximum level.

Compresses well because it is XML underneath.

AW

Applix Word's format from the Applixware suite.

Minified and re-gzipped at maximum level.

A rare format, handled as compressed XML.

KWD

KWord's format from the old KOffice suite.

Unpacked and repacked at maximum ZIP compression.

Legacy KOffice documents open the same afterwards.

SXW

StarOffice Writer's format, the ancestor of ODT.

Repacked at maximum ZIP compression.

The document opens exactly as before.

TXT

Plain unformatted text, ASCII or Unicode.

Trailing spaces and repeated blank lines are removed.

Already about as small as text gets, so expect very little.

Spreadsheet

XLS

Excel's legacy binary workbook (97-2003).

Converted to XLSX first, then repacked.

Legacy binary sheets often shrink noticeably.

XLSX

Excel's XML-based workbook, 2007 onward.

Sheet XML is unpacked and repacked at maximum compression.

Large sheets of repetitive data compress best.

ODS

The OpenDocument spreadsheet format.

Unpacked and repacked at maximum ZIP compression.

Formulas and cell formatting are preserved.

CSV

Plain-text rows with commas between values.

Trailing whitespace and blank lines are trimmed.

Already minimal, so savings are small.

Presentation

PPT

PowerPoint's legacy binary deck (97-2003).

Converted to PPTX first, then repacked.

Older decks with embedded media benefit most.

PPTX

PowerPoint's XML-based deck, 2007 onward.

Slide parts are unpacked and repacked at maximum compression.

Decks dominated by photos are limited by the images themselves.

ODP

The OpenDocument presentation format.

Unpacked and repacked at maximum ZIP compression.

Slides and transitions are kept as-is.

Other Formats

PDF

Adobe's fixed-layout document format.

Rebuilt with Ghostscript, images downsampled to your preset.

This is where the largest savings happen, often well over half.

DJVU

A format built for scanned pages and books.

Already uses aggressive scan-specific compression.

Little left to gain; it is near its floor by design.

XPS

Microsoft's fixed-layout answer to PDF.

Unpacked and repacked at maximum ZIP compression.

Convert to PDF if you want real size reductions.

OXPS

The Ecma-standardised version of XPS.

Repacked at maximum ZIP compression.

Same handling as XPS.

MD

Markdown, plain text with light formatting marks.

Trailing whitespace and extra blank lines are stripped.

Files are tiny already, so changes are marginal.

HTML

The markup language behind every web page.

Comments and whitespace between tags are removed.

Verbose exported HTML can shrink by a quarter or more.

EPUB

The open e-book standard, built on HTML and CSS.

Unpacked and repacked at maximum ZIP compression.

Text-heavy books gain little; image-heavy ones are capped by their images.

References

  1. High Level Devices, including pdfwrite and PDFSETTINGS - Ghostscript documentation
  2. RFC 1951: DEFLATE Compressed Data Format Specification version 1.3 - RFC Editor
  3. RFC 1952: GZIP file format specification version 4.3 - RFC Editor
  4. APPNOTE.TXT: .ZIP File Format Specification - PKWARE
  5. ISO 32000-2:2020, Portable document format (PDF 2.0) - ISO
  6. ECMA-376: Office Open XML File Formats - Ecma International
  7. Compression Streams API - MDN Web Docs, Mozilla
  8. JSZip documentation