Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>PDF to TXT BatchNew to Visual Studio Code? Get it now.
PDF to TXT Batch

PDF to TXT Batch

ikoloper

|
1 install
| (0) | Free
Convert PDF files and folders to clean TXT output directly from the Explorer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

PDF to TXT Batch

Convert one or more PDF files to plain text directly from the Visual Studio Code Explorer. You can select individual PDFs, multiple PDFs, or an entire folder.

Features

  • Converts single or multiple PDF files in one operation.
  • Converts every PDF in a selected folder.
  • Optionally searches selected folders recursively.
  • Writes each TXT file to an output folder beside its source PDF.
  • Shows cancellable progress for batch operations.
  • Optionally adds PDF metadata and labeled page separators.
  • Lets you control overwrite behavior and reveal generated output.

Usage

  1. In the Explorer, select one or more PDF files or a folder that contains PDFs.
  2. Right-click the selection.
  3. Choose PDF to TXT: Convert to TXT.

The default output layout is:

documents/
  article.pdf
  txt-output/
    article.txt

You can also run PDF to TXT: Convert to TXT from the Command Palette. Run PDF to TXT: Open Settings to configure the extension.

Settings

Setting Default Description
pdfToTxtBatch.outputFolderName txt-output Output folder for generated TXT files. Relative paths start beside each source PDF.
pdfToTxtBatch.overwriteExisting true Overwrite an existing TXT file with the same name.
pdfToTxtBatch.includeSubfolders false Search selected folders recursively.
pdfToTxtBatch.includeMetadataHeader true Add the source path, PDF title, and page count.
pdfToTxtBatch.includePageSeparators true Add a labeled separator before each page.
pdfToTxtBatch.openOutputFolderAfterConversion false Reveal the first generated TXT file after conversion.

Notes

  • PDF processing happens locally. The extension does not upload document contents.
  • Text quality depends on the structure of the PDF. Image-only or scanned PDFs require OCR and may produce little or no text.
  • Password-protected or damaged PDF files may fail to convert. Details are written to the PDF to TXT Batch output channel.

Privacy

PDF to TXT Batch does not collect telemetry and does not send files or extracted text to external services.

License

Released under the MIT License. The complete license text is included with the extension.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft