Need a PDF from a LibreOffice Writer document? You have several paths, each giving you control over file size, fidelity, and compatibility. This guide walks through the PDF Options dialog, the defaults worth changing, and batch conversion using the command line. You will also learn about libreoffice pdf options such as image compression and resolution, and when to reach for export directly as pdf instead of opening the dialog. For a single .docx file without installing anything, the Word to PDF tool runs in your browser.

The PDF Options Dialog What Each Tab Does

Go to File > Export as PDF. The PDF Options dialog opens. Two tabs matter most for everyday work: General and Options.

The General tab sets the page range. Export all pages or pick a selection. It also controls image handling. By default, images are compressed using JPEG at 90%. Lower that figure to shrink the file; raise it for better fidelity. The 'Reduce image resolution' checkbox is on, set to 300 DPI. Any image above 300 DPI gets downsampled. Need higher resolution? Increase the value or disable reduction entirely.

The Options tab holds two features you should know: Archive (PDF/A) and Hybrid PDF. PDF/A is an archival format. It embeds fonts and enforces strict standards for long-term preservation. Hybrid PDF embeds the original ODF file inside the PDF, so you can later open the PDF in LibreOffice and edit the document. Use it when you want to share a PDF that stays editable.

Export Directly as PDF When to Skip the Dialog

Already settled on your choices? Use File > Export as > Export Directly as PDF. This skips the dialog and applies the last configuration you used. Set JPEG to a lower value and PDF/A on once, and the next direct export reuses both.

Reach for this when you are churning out the same document type repeatedly, reports or invoices, and you do not need to change options each time. Just remember: if a particular file demands different treatment, you must reopen the dialog.

Default Settings You Should Check

LibreOffice ships with sensible defaults. Verify them against your own needs. The defaults are:

  • Page range: All pages
  • Image compression: JPEG at 90%
  • Reduce image resolution: 300 DPI
  • PDF/A: Off
  • Hybrid PDF: Off

For documents heavy with high-resolution photos, 90% JPEG and the 300 DPI reduction keep file sizes manageable. Text-only documents barely feel these choices. For archival purposes, turn on PDF/A. For editable sharing, turn on Hybrid PDF.

Command Line Batch Conversion with Soffice

Need to convert dozens of documents at once? The command line is the fastest route. LibreOffice includes a tool called soffice. The basic instruction to convert a single file:

soffice --headless --convert-to pdf file.docx

The --headless flag runs LibreOffice without a graphical interface. Servers and automated workflows require it. The --convert-to pdf argument tells it to produce a PDF. Convert multiple files by listing them or using a wildcard:

soffice --headless --convert-to pdf *.docx

This turns every .docx file in the current directory into a PDF, keeping the same filenames. LibreOffice opens .doc and .docx files, so the same command works for older Word documents.

Controlling Output Choices from the Command Line

The command line uses the same configuration as Export Directly as PDF. It applies the last dialog choices. Need to specify PDF/A or image fidelity? Use a filter option:

soffice --headless --convert-to pdf:writer_pdf_Export file.docx

The :writer_pdf_Export part references the internal export filter. To change individual options, pass additional parameters. A common approach: set the defaults in the dialog first, then run the command line for batch jobs.

Using Soffice for Automated Workflows

For repeated batch conversions, write a script that loops through files and calls soffice --convert-to pdf. This generates PDFs from templates, processes uploads, or integrates with other tools. The headless flag means it runs on servers without a desktop environment.

Image Fidelity and File Size Trade Offs

Adjusting libreoffice pdf image quality means balancing visual fidelity against file size. The default JPEG at 90% produces solid results for most documents. Drop it to a lower value and you can halve the file size with minimal visible loss in photos. Screenshots and charts are less forgiving; keep the figure higher to avoid artifacts.

The 'Reduce image resolution' default of 300 DPI suits screen viewing and most printing. If your document contains images well above that, downsampling to 300 DPI shrinks the PDF dramatically. For high-quality print work, raise the DPI limit or disable reduction.

Hybrid PDF Embedding the ODF Source

The hybrid pdf libreoffice option embeds the original ODF file inside the PDF. Open such a PDF in LibreOffice and you can edit the embedded ODF directly. Send a PDF that can be revised later without keeping the source file separate. Not every PDF reader can extract the embedded file; only LibreOffice and some other OpenDocument-compatible applications use the hybrid feature.

Enable it on the Options tab in the PDF Options dialog. Check 'Hybrid PDF'. This increases the PDF file size. It now contains both the PDF and the ODF file.

Quick Online Alternative No Install Needed

No LibreOffice installed? Prefer to skip the command line? The Word to PDF tool accepts .docx files with nothing to install. Upload your document and receive a clean PDF, no watermark. Use it for one-off conversions or when you are on a shared computer.