Categories

LibreOffice Office to Image

Convert Office files to PNG/JPG previews with LibreOffice, with optional thumbnail resize

Generate preview images from Office documents and slides.

Supported formats:

  • DOC/DOCX, PPT/PPTX, XLS/XLSX, ODT/ODS/ODP
  • Output image format: PNG or JPG
  • Optional thumbnail resizing (max width)
  • Batch output auto-packaged into ZIP when needed

Example Results

2 examples

Single DOCX Thumbnail PNG

Generate one PNG thumbnail from a DOCX sample

libreoffice-office-to-image-example1.png View File
View input parameters
{ "sourceFiles": [ "/Users/quyue/www/elysia-tools/public/samples/docx/simple.docx" ], "outputFormat": "png", "thumbnailMode": true, "maxWidth": 480 }

Batch Office Previews ZIP

Generate preview images from mixed Office files and pack as ZIP

libreoffice-office-to-image-example2.zip View File
View input parameters
{ "sourceFiles": [ "/Users/quyue/www/elysia-tools/public/samples/docx/formatted.docx", "/Users/quyue/www/elysia-tools/public/samples/ppt/business.pptx", "/Users/quyue/www/elysia-tools/public/samples/xlsx/basic.xlsx" ], "outputFormat": "png", "thumbnailMode": true, "maxWidth": 520 }

Click to upload files or drag and drop files here

Maximum file size: 300MB Maximum files: 30
Supported formats: application/msword, application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/vnd.ms-powerpoint, application/vnd.openxmlformats-officedocument.presentationml.presentation, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.text, application/vnd.oasis.opendocument.spreadsheet, application/vnd.oasis.opendocument.presentation

Key Facts

Category
Document Tools
Input Types
file, select, checkbox, number
Output Type
file
Sample Coverage
4
API Ready
Yes

Overview

Generate preview images from Office documents and slides. **Supported formats:** - DOC/DOCX, PPT/PPTX, XLS/XLSX, ODT/ODS/ODP - Output image format: PNG or JPG - Optional thumbnail resizing (max width) - Batch output auto-packaged into ZIP when needed

When to Use

  • Use it when you need to convert xml, xlsx content quickly in the browser.
  • Helpful for document tools workflows that need repeatable inputs and fast results.
  • A good fit when you want to test with real files before running the same workflow in code or API calls.

How It Works

  • Provide Office Files, Output Format, Thumbnail Mode, Max Width as input to the tool.
  • The tool processes the request and returns a file result.
  • For file workflows, start with representative samples such as xml, xlsx test files to verify edge cases and output quality.

Use Cases

Convert xml, xlsx data during debugging or QA.
Validate expected output before using the API or automation flows.
Test the workflow with representative sample files and edge cases.

Try with Samples

xml, xlsx, xls

Related Hubs

FAQ

What does LibreOffice Office to Image do?

LibreOffice Office to Image helps you convert xml, xlsx content online without setting up a separate local script or app.

When should I use this tool?

Use it when you need a quick convert workflow, want to verify output, or need a browser-based utility for document tools tasks.

Can I try this tool with sample data?

Yes. This page can recommend related sample files so you can test the workflow immediately.

What inputs does LibreOffice Office to Image accept?

LibreOffice Office to Image accepts Office Files, Output Format, Thumbnail Mode, Max Width and supports file uploads for 1 field.

Is there an API for LibreOffice Office to Image?

Yes. The tool page includes an API endpoint so you can move from manual testing to scripted usage.

API Documentation

Request Endpoint

POST /en/api/tools/libreoffice-office-to-image

Request Parameters

Parameter Name Type Required Description
sourceFiles file (Upload required) Yes -
outputFormat select No -
thumbnailMode checkbox No -
maxWidth number No -

File type parameters need to be uploaded first via POST /upload/libreoffice-office-to-image to get filePath, then pass filePath to the corresponding file field.

Response Format

{
  "filePath": "/public/processing/randomid.ext",
  "fileName": "output.ext",
  "contentType": "application/octet-stream",
  "size": 1024,
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
File: File

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-libreoffice-office-to-image": {
      "name": "libreoffice-office-to-image",
      "description": "Convert Office files to PNG/JPG previews with LibreOffice, with optional thumbnail resize",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=libreoffice-office-to-image",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

Supports URL file links or Base64 encoding for file parameters.

If you encounter any issues, please contact us at [email protected]