GroupDocs.Parser Cloud is an enterprise-grade REST API for extracting content from documents. Pull text, images, and metadata from Word, PDF, Excel, email, archives, and more — with options for page ranges and formatted output, and no third-party desktop software.
SDKs are grouped by platform. Each example extracts text from an entire document using the Extract Text From The Whole Document API. The same call is shown first as plain REST (cURL), then for each SDK.
Call the Parser Cloud REST API directly (no SDK). Obtain a JWT from the token endpoint (client_credentials), then extract text:
# Get JWT (Client Id / Client Secret from https://dashboard.groupdocs.cloud)
curl -v "https://api.groupdocs.cloud/connect/token" \
-X POST \
-d "grant_type=client_credentials&client_id=$CLIENT_ID&client_secret=$CLIENT_SECRET" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Accept: application/json"
# Extract text from the whole document
curl -v "https://api.groupdocs.cloud/v1.0/parser/text" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer $JWT_TOKEN" \
-d '{
"FileInfo": {
"FilePath": "words/docx/document.docx"
}
}'See more: Extract Text From The Whole Document (cURL example). SDK samples below use email/eml/embedded-image-and-attachment.eml from the published examples.
.NET SDK for GroupDocs.Parser Cloud — .NET Core and .NET Framework.
- groupdocs-parser-cloud-dotnet — SDK
- groupdocs-parser-cloud-dotnet-samples — Examples
var configuration = new Configuration(MyClientId, MyClientSecret);
var apiInstance = new ParseApi(configuration);
var options = new TextOptions
{
FileInfo = new FileInfo
{
FilePath = "email/eml/embedded-image-and-attachment.eml"
}
};
var response = apiInstance.Text(new TextRequest(options));Java SDK for the GroupDocs.Parser Cloud REST API.
- groupdocs-parser-cloud-java — SDK
- groupdocs-parser-cloud-java-samples — Examples
Configuration configuration = new Configuration(MyClientId, MyClientSecret);
ParseApi apiInstance = new ParseApi(configuration);
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("email/eml/embedded-image-and-attachment.eml");
TextOptions options = new TextOptions();
options.setFileInfo(fileInfo);
TextResult response = apiInstance.text(new TextRequest(options));PHP SDK for the GroupDocs.Parser Cloud REST API.
- groupdocs-parser-cloud-php — SDK
- groupdocs-parser-cloud-php-samples — Examples
use GroupDocs\Parser\Model;
use GroupDocs\Parser\Model\Requests;
$configuration = new GroupDocs\Parser\Configuration();
$configuration->setAppSid($ClientId);
$configuration->setAppKey($ClientSecret);
$apiInstance = new GroupDocs\Parser\ParseApi($configuration);
$fileInfo = new Model\FileInfo();
$fileInfo->setFilePath("email/eml/embedded-image-and-attachment.eml");
$options = new Model\TextOptions();
$options->setFileInfo($fileInfo);
$response = $apiInstance->text(new Requests\textRequest($options));Node.js SDK for the GroupDocs.Parser Cloud REST API.
- groupdocs-parser-cloud-node — SDK
- groupdocs-parser-cloud-node-samples — Examples
const parser_cloud = require("groupdocs-parser-cloud");
const parseApi = parser_cloud.ParseApi.fromKeys(clientId, clientSecret);
let fileInfo = new parser_cloud.FileInfo();
fileInfo.filePath = "email/eml/embedded-image-and-attachment.eml";
let options = new parser_cloud.TextOptions();
options.fileInfo = fileInfo;
let response = await parseApi.text(new parser_cloud.TextRequest(options));Python SDK for the GroupDocs.Parser Cloud REST API.
- groupdocs-parser-cloud-python — SDK
- groupdocs-parser-cloud-python-samples — Examples
import groupdocs_parser_cloud
parse_api = groupdocs_parser_cloud.ParseApi.from_keys(client_id, client_secret)
options = groupdocs_parser_cloud.TextOptions()
options.file_info = groupdocs_parser_cloud.FileInfo()
options.file_info.file_path = "email/eml/embedded-image-and-attachment.eml"
result = parse_api.text(groupdocs_parser_cloud.TextRequest(options))Ruby SDK for the GroupDocs.Parser Cloud REST API.
- groupdocs-parser-cloud-ruby — SDK
- groupdocs-parser-cloud-ruby-samples — Examples
require 'groupdocs_parser_cloud'
parse_api = GroupDocsParserCloud::ParseApi.from_keys($client_id, $client_secret)
options = GroupDocsParserCloud::TextOptions.new
options.file_info = GroupDocsParserCloud::FileInfo.new
options.file_info.file_path = "email/eml/embedded-image-and-attachment.eml"
response = parse_api.text(GroupDocsParserCloud::TextRequest.new(options))- Full-text indexing — Extract plain text from mixed document stores for search.
- Email ingestion — Parse EML/MSG bodies and attachments into structured pipelines.
- eDiscovery prep — Pull text from large PDF/Office corpora before review tools.
- Content migration — Harvest body text when moving archives between CMS systems.
- OCR-adjacent workflows — Combine extracted text with your own NLP or classification.
Use Client ID and Client Secret from GroupDocs Cloud Dashboard to authenticate. Set them in your SDK configuration (e.g. Configuration, from_keys, or environment variables) before calling the API.
| Feature | Description |
|---|---|
| Text extraction | Whole document, page ranges, or formatted text (plain/HTML/Markdown). |
| Images & metadata | Extract embedded images and document metadata. |
| Containers | Work with items inside ZIP, email, and PDF portfolios. |
| Broad formats | Office, PDF, email, HTML, archives, and more. |
| Password-protected files | Open protected documents by supplying a password. |
| Cloud storage | Upload, download, and manage files used by parse operations. |
| Resource | Link |
|---|---|
| Documentation | GroupDocs.Parser Cloud Docs — guides, API reference, and SDK usage. |
| Support forum | GroupDocs Cloud Free Support Forum — ask questions and report issues. |
| Temporary license | Get a free trial — full-feature evaluation. |
| Live demo | GroupDocs.Parser apps — try parsing in the browser. |
| API reference | REST API Reference — Swagger/OpenAPI. |
document-parser extract-text parse-document email-parser pdf-text-extraction metadata-extraction image-extraction parser-api groupdocs-parser-cloud parser-sdk