If you need to extract text from Microsoft PowerPoint presentations for automation, archiving, or search indexing, the GroupDocs.Parser Cloud SDK for Node.js provides a cloud-based solution that is fast, flexible, and easy to integrate. With just a few lines of code, you can extract plain or structured text from .ppt and .pptx files without relying on Microsoft Office.
- PowerPoint Text Extraction API
- How to Extract Text from PowerPoint using Node.js
- Extract Text from PowerPoint via cURL
- Free PowerPoint Text Extractor
PowerPoint Text Extraction API
The GroupDocs.Parser Cloud SDK for Node.js is a high-level SDK built over a powerful REST API that allows you to extract:
- Slide text (per slide or entire presentation).
- Structured content from tables.
- Metadata.
- Embedded files or images.
It supports a large variety of formats, including PDF, Word, Excel, PowerPoint, MSG, ZIP, and more.
Prerequisites
- Sign up at GroupDocs.Cloud Dashboard.
- Get your Client ID and Client Secret.
- Install SDK:
npm install groupdocs-parser-cloud
Visit the following link to learn more about, how to obtain your Client ID and Client Secret for authentication.
How to Extract Text from PowerPoint using Node.js
This section provides the details on how we can programmatically extract text from a PowerPoint presentation using the Node.js SDK.
Step 1: Initialize Configuration:
const { ParserApi, Configuration, ImagesRequest, FileInfo, ImagesOptions } = require("groupdocs-parser-cloud");
const config = new Configuration("YOUR_CLIENT_ID", "YOUR_CLIENT_SECRET");
const parserApi = new ParserApi(config);
Step 2: Setup File Info and Options: Initialize an object of the TextRequest class and pass the instance of the TextOptions class.
const fileInfo = new FileInfo();
// path to PowerPoint presentation
fileInfo.filePath = "input.pptx";
const options = new TextOptions();
options.fileInfo = fileInfo;
const request = new TextRequest(options);
Step 3: Extract Text from PowerPoint: Invoke the text method, and it will return the plain text from PowerPoint presentation.
parserApi.text(request).then(response => {
console.log("Extracted text content:");
console.log(response.text);
}).catch(err => {
console.error("Error extracting text:", err);
});
You can see the output of the above code sample in the image below:

Extract Text from PowerPoint via cURL
If you prefer command-line operations or want to integrate into a script? You can extract text from Word document using cURL and GroupDocs.Parser REST API.
Step 1 – Generate Access Token:
curl -X POST "https://api.groupdocs.cloud/connect/token" \
-d "grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET" \
-H "Content-Type: application/x-www-form-urlencoded"
Step 2 – Extract Text via API Call:
curl -v -X POST "https://api.groupdocs.cloud/v1.0/parser/text" \
-H "accept: application/json" \
-H "authorization: Bearer {ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-d
"{
\"FileInfo\":
{
\"FilePath\": \"input.pptx\",
\"StorageName\": \"internal\"
}
}"
- Replace <ACCESS_TOKEN> with the one you generated.
Benefits of using cURL with GroupDocs.Parser API
- ✅ No SDK installation.
- ✅ Suitable for bash scripts or cron jobs.
- ✅ Works in Linux, macOS, and Windows environments.
- ✅ Lightweight and fast.
Free PowerPoint Text Extractor
Use our Free Online PowerPoint Text Extractor powered by GroupDocs.Parser Cloud if you prefer a no-code option.

Conclusion
Using GroupDocs.Parser Cloud SDK for Node.js, you can extract text from PowerPoint presentations efficiently with minimal code. The SDK and REST API support modern development workflows — whether you prefer programmatic SDKs or lightweight cURL scripts.
📚 Additional Resources
Frequently Asked Questions – FAQs
- Can I extract text from slides with formatting?
- Yes. The API returns structured text including slide order.
- Is PowerPoint required to extract content?
- No. The API runs in the cloud and does not depend on Microsoft Office.
- What is the pricing model?
- We offer a single pay as you go pricing model. For further information, please visit pricing guide.
- Is there a free trial?
- Yes. You can make up to 150 API calls/month with a free trial account. For further details, please visit pricing guide.