N8n Nodes Pdf To Images logo

N8n Nodes Pdf To Images

Free

n8n community node: PDF binary → JPEG/PNG per page (Mozilla PDF.js + @napi-rs/canvas, no MuPDF/Poppler)

AI AgentsFreeFree tier
#n8n
Type
Open Source

About N8n Nodes Pdf To Images

An n8n community node that converts PDF binary data into images (JPEG or PNG) on a per-page basis. Built entirely in JavaScript using Mozilla's PDF.js for parsing and @napi-rs/canvas for rendering, it eliminates the need for native libraries like MuPDF or Poppler. Ideal for workflows requiring preview thumbnails, image extraction, or OCR preprocessing from PDF documents.

Key Features

Converts each PDF page to a separate JPEG or PNG image
Uses Mozilla PDF.js for PDF parsing and @napi-rs/canvas for rendering
Pure JavaScript implementation – no native dependencies (MuPDF, Poppler, etc.)
Accepts PDF binary input from any previous n8n node
Outputs an array of binary image items, one per page
Open source and free to use

Pros & Cons

Pros
  • No external binaries or system dependencies required
  • Lightweight and platform-independent (JavaScript only)
  • Seamlessly integrates into n8n workflows
  • Supports both JPEG and PNG output formats
  • Free and open source
Cons
  • Requires a running n8n instance to use
  • Rendering fidelity may vary for complex PDF layouts
  • Performance depends on PDF size and number of pages
  • No advanced options (e.g., resolution, page range) exposed in the simplest usage

Best For

Generate thumbnail previews of PDF documentsExtract individual pages as images for OCR processingCreate image galleries from multi-page PDFsConvert scanned PDFs into image formats for further analysis

Alternatives to N8n Nodes Pdf To Images

FAQ

How do I install this node in n8n?
Install via npm: run `npm install @kukhta_stepan/n8n-nodes-pdf-to-images` in your n8n installation directory and restart n8n.
What input format does the node expect?
The node expects binary PDF data, typically from a previous node like 'Read Binary Files' or 'HTTP Request'.
Can I choose the output image format?
Yes, the node allows you to select between JPEG and PNG output formats via a parameter.