Skip to content
LiteParse
Guides

Multi-Format Support

Parse Word documents, spreadsheets, presentations, and images with LiteParse.

LiteParse automatically converts non-PDF formats to PDF before parsing. This lets you use the same parsing pipeline for Office documents, images, and more.

CategoryExtensions
Word.doc, .docx, .docm, .odt, .rtf, .pages
PowerPoint.ppt, .pptx, .pptm, .odp, .key
Spreadsheets.xls, .xlsx, .xlsm, .ods, .csv, .tsv, .numbers

.jpg, .jpeg, .png, .gif, .bmp, .tiff, .webp, .svg

Images are converted to PDF and then parsed with OCR to extract text.

Format conversion uses standard system tools. Install the ones you need:

Terminal window
# macOS
brew install --cask libreoffice
# Ubuntu/Debian
apt-get install libreoffice
# Windows
choco install libreoffice-fresh

On Windows, you may need to add the LibreOffice CLI directory (typically C:\Program Files\LibreOffice\program) to your PATH and restart.

Terminal window
# macOS
brew install imagemagick
# Ubuntu/Debian
apt-get install imagemagick
# Windows
choco install imagemagick.app

Once the dependencies are installed, just pass any supported file to lit parse:

Terminal window
lit parse report.docx
lit parse slides.pptx --format json
lit parse spreadsheet.xlsx -o output.txt
lit parse scan.png

Batch mode also handles mixed formats:

Terminal window
lit batch-parse ./documents ./output --recursive
  1. LiteParse detects the file extension
  2. If it’s not a PDF, it converts to PDF using the appropriate tool (LibreOffice or ImageMagick)
  3. The resulting PDF is parsed normally
  4. Temporary conversion files are cleaned up automatically

If the required conversion tool isn’t installed, LiteParse will return an error explaining which dependency is needed.

Note for AI agents: this documentation is built for programmatic access. - Overview of all docs: https://developers.llamaindex.ai/llms.txt - Any page is available as raw Markdown by appending index.md to its URL — e.g. https://developers.llamaindex.ai/llamaparse/parse/getting_started/index.md - Agent-friendly REST search APIs live under https://developers.llamaindex.ai/api/ — search (BM25 full-text), grep (regex), read (fetch a page), and list (browse the doc tree). See https://developers.llamaindex.ai/llms.txt for parameters. - A hosted documentation MCP server is available at https://developers.llamaindex.ai/mcp. If you support MCP, you can ask the user to install it for browsing these docs directly (an alternative to the REST API). Setup: https://developers.llamaindex.ai/python/shared/mcp/