Updated Sep 21, 2026

Utilities

Convert office files without a desktop session

Office documents in, converted files out.

Agent

overview

What libreoffice does

LibreOffice opens one connected office document in headless mode and writes the converted file into the node's output folder. Set --format to pdf, docx, html, odt, or another format supported by the installed LibreOffice filters.

The output is a folder because LibreOffice chooses the filename from the source basename and requested format. Downstream nodes can consume that folder without guessing an internal worker path.

This node uses LibreOffice's rendering and import filters. It is better suited to office files than markup-only converters, but fonts and complex application-specific features can still affect fidelity.

source github.com/LibreOffice/core

use cases

Where libreoffice fits

Export DOCX as PDF

Create a reviewable PDF from an uploaded word-processing document.

Normalize office uploads

Convert mixed office formats into one format before extraction or archiving.

Render generated reports

Turn a workflow-produced office document into a distributable file without running a GUI.

reference

libreoffice inputs and flags

2 inputs
NameTypeFlagDescription
inputFILE--inputInput office document.
formatSTRING--formatTarget format such as pdf or docx.

Showing key inputs. libreoffice exposes 2 inputs in total.

example

Run libreoffice

libreoffice · command
libreoffice --headless --convert-to pdf --outdir output input.html
sample output
convert input.html -> output/input.pdf using filter : writer_web_pdf_Export

guidance

Choosing libreoffice

Use LibreOffice when office import and export filters matter. Use Pandoc for structure-oriented markup conversion.

pandoc

Converts structured text and document formats without office-suite rendering.

weasyprint

Renders HTML and CSS directly to PDF.

pdftotext

Extracts text after a document has already been converted to PDF.

faq

libreoffice questions

LibreOffice derives the converted filename from the source document, so the node returns the containing folder.

Run libreoffice yourself

An HTML office fixture is converted to PDF, then the output folder is checked for a valid PDF file.

Facts on this page come from the live Trickest tool library.