app icon
Document Cutter
0.1.0

Extract a page range from PDF/Word/Excel, output text chunks or same-format file (returned as Dify blob). Local-only build, no external upload service.

wonendieee/document_cutter360 installs

Document Cutter

Document Cutter is a Dify tool plugin for extracting selected page ranges from PDF, Word, and Excel files. It can return either structured text chunks or a same-format binary file through Dify's native file output.

Features

  • Supports PDF (), Word (), Excel (), and legacy Excel () inputs.
  • Extracts pages as text chunks for downstream LLM processing.
  • Returns same-format files for selected ranges, such as PDF to PDF, DOCX to DOCX, and XLSX to XLSX.
  • Supports flexible page range syntax: , , , , or empty for all pages.
  • Processes files locally inside the Dify plugin runtime.

Tools

Split Document

Parameters:

NameTypeRequiredDescription
fileYesSource document file.
selectYes returns text chunks. returns a selected-range file.
stringNo1-based inclusive page range. Empty means all pages.
numberNoText mode only. Groups every N pages into one chunk.
stringNoOptional output file base name without extension.

Page Range Examples

InputMeaning
Pages 1 through 2
Page 5 through the end
First 3 pages
Page 7 only
emptyAll pages

For Word documents, page boundaries are based on manual page breaks stored in the DOCX file. For Excel documents, pages refer to sheet indexes.

Output Modes

returns JSON containing extracted chunks and metadata.

returns JSON metadata, workflow variables, and a Dify blob message containing the generated file.

Privacy

All processing is performed in the Dify plugin runtime. No document content is sent to third-party services.

License

MIT

CATEGORY
Tool
VERSION
0.1.0
wonendieee·06/04/2026 12:16 PM
REQUIREMENTS
Tool invocation
Maximum memory
256MB