Convert PDF to Text


This node allows you to automatically extract text from PDF files, which is essential for data processing, analysis, and content repurposing.

Convert PDF to text

  1. Open a new n8n workflow and add a Webhook node to receive a PDF file dynamically (or use Read Binary File to fetch a stored PDF).
  2. Add the Convert PDF to Text (customJS) node and connect the incoming PDF file to this node.
  3. Configure the node to extract text from the PDF.
  4. The output will provide the extracted text in a string field.
  5. Connect this output to other nodes, such as:
    • Google Sheets to store the extracted data.
    • Code to parse or transform the text before further use.

n8n workflow template: Convert HTML to PDF & extract text from PDFs

This workflow template:

  1. Gets PDF files from a webhook or local storage.
  2. Converts the PDF to text.
  3. Uses the extracted text for further processing.
Use this template