# Office To PDF

> Convert office files to pdf

- Skill: `bighardperson/office-to-pdf` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add bighardperson/office-to-pdf`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bighardperson/office-to-pdf/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: bighardperson (https://skillmd.com/u/bighardperson)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/bighardperson/office-to-pdf

---


# convert office files to pdf

Convert one or more LibreOffice-supported documents to PDF with LibreOffice in headless mode.
Use this skill when an OpenClaw workflow needs to normalize office files such as:

- Presentations: `.ppt`, `.pptx`, `.odp`
- Documents: `.doc`, `.docx`, `.odt`, `.rtf`
- Spreadsheets: `.xls`, `.xlsx`, `.ods`

to pdf.

## Command Patterns

Convert one file:

```bash
libreoffice --headless --convert-to pdf --outdir ./out ./input.pptx
```

Convert multiple files:

```bash
libreoffice --headless --convert-to pdf --outdir ./out ./a.docx ./b.pptx ./c.xlsx
```

## Install

```bash
sudo apt install libreoffice
```
