HTTP API service (port 10996) using LibreOffice to convert DOC to DOCX, PDF and more formats
398
A powerful, cloud-native document format conversion service powered by GraalVM Native Image and LibreOffice. Built for versatile document transformation with minimal resource consumption, it converts between 100+ document formats effortlessly.
| From | To | Best For |
|---|---|---|
| DOC | DOCX, PDF | Legacy Word document modernization |
| DOCX | PDF, HTML | Document sharing & publishing |
| XLS | XLSX, PDF | Excel spreadsheet conversion |
| XLSX | PDF, CSV | Report generation |
| PPT | PPTX, PDF | PowerPoint presentation conversion |
| PPTX | Presentation sharing | |
| Any LibreOffice Format | Universal document output |
docker pull molandev/libreoffice-converter-api:latest
docker run -d \
--name libreoffice-converter \
-p 10996:10996 \
-v /data/temp:/app/temp \
-e CONVERTER_MAX_CONCURRENT=10 \
-e CONVERTER_RETENTION_MINUTES=10 \
molandev/libreoffice-converter-api:latest
Access the complete API guide at: http://localhost:10996/help
# Convert DOC to DOCX
curl -F "[email protected]" \
-F "format=docx" \
http://localhost:10996/convert/libreoffice/upload \
-o output.docx
# Convert DOCX to PDF
curl -F "[email protected]" \
-F "format=pdf" \
http://localhost:10996/convert/libreoffice/upload \
-o output.pdf
# Convert via URL
curl -X POST "http://localhost:10996/convert/libreoffice/url?fileUrl=https://example.com/doc.docx&format=pdf" \
-o output.pdf
# Convert Excel to PDF
curl -F "[email protected]" \
-F "format=pdf" \
http://localhost:10996/convert/libreoffice/upload \
-o output.pdf
| Parameter | Default | Description |
|---|---|---|
CONVERTER_MAX_CONCURRENT | 10 | Max parallel conversions |
CONVERTER_RETENTION_MINUTES | 10 | Temp file retention |
CONVERTER_SCHEDULE_MINUTES | 5 | Cleanup interval |
SERVER_PORT | 10996 | Service port |
docker run -e CONVERTER_MAX_CONCURRENT=20 \
-e CONVERTER_ACQUIRE_TIMEOUT=60 \
molandev/libreoffice-converter-api:latest
docker run -e CONVERTER_MAX_CONCURRENT=3 \
-e CONVERTER_RETENTION_MINUTES=5 \
molandev/libreoffice-converter-api:latest
ā
Zero JVM Warmup - GraalVM Native means instant peak performance
ā
100+ Format Support - LibreOffice handles virtually any document format
ā
Production-Ready - Smart concurrency control & auto-cleanup
ā
Cloud-Native - Docker-first design, Kubernetes-ready
ā
Battle-Tested Engine - LibreOffice is the industry standard for document conversion
curl -F "[email protected]" -F "format=docx" \
http://localhost:10996/convert/libreoffice/upload -o modern.docx
curl -F "[email protected]" -F "format=pdf" \
http://localhost:10996/convert/libreoffice/upload -o document.pdf
curl -F "[email protected]" -F "format=pdf" \
http://localhost:10996/convert/libreoffice/upload -o report.pdf
curl -F "[email protected]" -F "format=pdf" \
http://localhost:10996/convert/libreoffice/upload -o slides.pdf
Built with Spring Boot 3.5.6 + GraalVM 25 + LibreOffice
One engine, endless possibilities: Universal document format conversion. ā”
Content type
Image
Digest
sha256:c6c7e57ffā¦
Size
237.7 MB
Last updated
6 months ago
docker pull molandev/libreoffice-converter-api