local/tools
docs / Docker image / v1.0.2

Office Converter

Convert PPTX, DOCX, XLSX and ODF documents to PDF or PNG with LibreOffice, including speaker notes.

Install

  • install
    irm https://raw.githubusercontent.com/chayprabs/localtools/main/office-converter/install.ps1 | iex
  • update
    localtools-office-converter update
  • remove
    localtools-office-converter uninstall

Opens at http://127.0.0.1:47135 in your browser. Run localtools-office-converter --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.

See it

How to use

  1. Install and start Docker using Linux containers. The Docker Linux kernel needs Landlock ABI 3+ (Linux 6.2+).
  2. Install Office Converter, launch it and choose one DOCX, PPTX, XLSX, ODT, ODP or ODS file up to 10 MiB.
  3. Choose PDF or PNG pages (ZIP). For a presentation, choose slides, slides and notes, or notes only.
  4. Convert, inspect the PDF or first PNG page, then download. The CLI and /api/convert API provide the same conversion.

FAQ

Does this need Microsoft Office or an internet connection?

No. LibreOffice, Poppler and fonts are inside the image. Docker needs internet for the initial pull and updates; conversion runs offline.

Which documents and limits are supported?

DOCX, PPTX, XLSX, ODT, ODP and ODS up to 10 MiB, 100 rendered pages and 32 MiB output. PNG pages fit within 1600 pixels. Two conversions can run at once with a 90-second deadline.

Can I export PowerPoint speaker notes?

PPTX and ODP can export slides only, slides plus notes pages, or notes pages only. Both PDF and PNG output support these modes.

Why is a document with hyperlinks or macros rejected?

External links (including ordinary hyperlinks), scripts, macros, embedded executable objects, external spreadsheet formulas and encrypted documents are deliberately rejected. Remove links or active content before conversion.

Will the result exactly match Microsoft Office?

Rendering uses LibreOffice with DejaVu, Liberation, Noto and Noto CJK fonts. Unavailable fonts are substituted, so some pagination and graphics can differ from Microsoft Office.