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

Easily convert your Office documents, spreadsheets, and presentations into high-quality PNG or JPG preview images using our LibreOffice-powered conversion tool.

When to Use

  • Generate visual previews for document management systems or web galleries.
  • Create thumbnails for quick document identification without opening heavy Office software.
  • Prepare batch exports of document pages for presentations or reports.

How It Works

  • Upload your DOCX, PPTX, XLSX, or ODT files to the tool.
  • Select your preferred output format (PNG or JPG) and enable thumbnail mode if needed.
  • Set the maximum width for your images to ensure consistent sizing.
  • Process the files and download your individual images or a packaged ZIP archive.

Use Cases

Generating website thumbnails for a document library.
Creating visual snapshots of complex spreadsheets for quick review.
Converting slide decks into image galleries for mobile viewing.

Examples

1. Single DOCX Thumbnail

Background
A user needs a quick visual reference for a single Word document.
Problem
The original file is too large to share as a preview.
How to Use
Upload the DOCX file, select PNG format, enable Thumbnail Mode, and set the width to 480px.
Outcome
A clean, resized PNG image ready for web display.

2. Batch Office Previews

Background
A project manager needs to share a set of mixed documents (Word, PPT, Excel) with a client.
Problem
Sending multiple file types is inconvenient for the recipient.
How to Use
Upload all files simultaneously, choose PNG format, and set a max width of 520px.
Outcome
A single ZIP file containing standardized image previews for all uploaded documents.

Try with Samples

xml, xlsx, xls

Related Hubs

FAQ

Which file formats are supported?

We support common Office formats including DOC/DOCX, PPT/PPTX, XLS/XLSX, and OpenDocument formats like ODT, ODS, and ODP.

Can I convert multiple files at once?

Yes, you can upload multiple files, and the tool will automatically package the resulting images into a single ZIP file for easy downloading.

What is the purpose of Thumbnail Mode?

Thumbnail mode allows you to define a specific maximum width for your output images, which is ideal for creating lightweight previews or gallery icons.

Is there a limit on file size or count?

You can upload up to 30 files per session, with a total file size limit of 300MB.

Are my files processed securely?

Yes, all files are processed in a secure environment and are not stored permanently on our servers.

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]