GroupDocs.Editor Cloud is an enterprise-grade REST API for editing documents in the cloud. Load Word, Excel, PowerPoint, and other formats into an editable HTML representation, modify content on the client, then save back to the original format — with no third-party desktop software.
SDKs are grouped by platform. Each example loads a Word document into editable HTML and saves it back using the Working with WordProcessing Documents API (load → edit HTML → save). The same flow is shown first as plain REST (cURL load), then for each SDK.
Call the Editor Cloud REST API directly (no SDK). Obtain a JWT from the token endpoint (client_credentials), then load a document for editing:
# 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"
# Load document into editable HTML
curl -v "https://api.groupdocs.cloud/v1.0/editor/load" \
-X POST \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Authorization: Bearer $JWT_TOKEN" \
-d '{
"FileInfo": { "FilePath": "WordProcessing/four-pages.docx" },
"OutputPath": "Output",
"EnablePagination": true,
"FontExtraction": "ExtractAllEmbedded"
}'See more: Working with WordProcessing Documents (cURL example). SDK samples below use password-protected.docx with password password for the full load → edit → save flow.
.NET SDK for GroupDocs.Editor Cloud — .NET Core and .NET Framework.
- groupdocs-editor-cloud-dotnet — SDK
- groupdocs-editor-cloud-dotnet-samples — Examples
var configuration = new Configuration(MyClientId, MyClientSecret);
var editApi = new EditApi(configuration);
var loadOptions = new WordProcessingLoadOptions
{
FileInfo = new FileInfo
{
FilePath = "WordProcessing/password-protected.docx",
Password = "password"
},
OutputPath = "output"
};
var loadResult = editApi.Load(new LoadRequest(loadOptions));
// Download/edit HTML at the client, then upload changes...
var saveOptions = new WordProcessingSaveOptions
{
FileInfo = loadOptions.FileInfo,
OutputPath = "output/edited.docx",
HtmlPath = loadResult.HtmlPath,
ResourcesPath = loadResult.ResourcesPath
};
var saveResult = editApi.Save(new SaveRequest(saveOptions));Java SDK for the GroupDocs.Editor Cloud REST API.
- groupdocs-editor-cloud-java — SDK
- groupdocs-editor-cloud-java-samples — Examples
Configuration configuration = new Configuration(MyClientId, MyClientSecret);
EditApi editApi = new EditApi(configuration);
FileInfo fileInfo = new FileInfo();
fileInfo.setFilePath("WordProcessing/password-protected.docx");
fileInfo.setPassword("password");
WordProcessingLoadOptions loadOptions = new WordProcessingLoadOptions();
loadOptions.setFileInfo(fileInfo);
loadOptions.setOutputPath("output");
LoadResult loadResult = editApi.load(new LoadRequest(loadOptions));
// Download/edit HTML at the client, then upload changes...
WordProcessingSaveOptions saveOptions = new WordProcessingSaveOptions();
saveOptions.setFileInfo(fileInfo);
saveOptions.setOutputPath("output/edited.docx");
saveOptions.setHtmlPath(loadResult.getHtmlPath());
saveOptions.setResourcesPath(loadResult.getResourcesPath());
DocumentResult saveResult = editApi.save(new SaveRequest(saveOptions));PHP SDK for the GroupDocs.Editor Cloud REST API.
- groupdocs-editor-cloud-php — SDK
- groupdocs-editor-cloud-php-samples — Examples
use GroupDocs\Editor\Model;
use GroupDocs\Editor\Model\Requests;
$configuration = new GroupDocs\Editor\Configuration();
$configuration->setAppSid($ClientId);
$configuration->setAppKey($ClientSecret);
$editApi = new GroupDocs\Editor\EditApi($configuration);
$fileInfo = new Model\FileInfo();
$fileInfo->setFilePath("WordProcessing/password-protected.docx");
$fileInfo->setPassword("password");
$loadOptions = new Model\WordProcessingLoadOptions();
$loadOptions->setFileInfo($fileInfo);
$loadOptions->setOutputPath("output");
$loadResult = $editApi->load(new Requests\loadRequest($loadOptions));
// Download/edit HTML at the client, then upload changes...
$saveOptions = new Model\WordProcessingSaveOptions();
$saveOptions->setFileInfo($fileInfo);
$saveOptions->setOutputPath("output/edited.docx");
$saveOptions->setHtmlPath($loadResult->getHtmlPath());
$saveOptions->setResourcesPath($loadResult->getResourcesPath());
$saveResult = $editApi->save(new Requests\saveRequest($saveOptions));Node.js SDK for the GroupDocs.Editor Cloud REST API.
- groupdocs-editor-cloud-node — SDK
- groupdocs-editor-cloud-node-samples — Examples
const editor_cloud = require("groupdocs-editor-cloud");
const editApi = editor_cloud.EditApi.fromKeys(clientId, clientSecret);
let fileInfo = new editor_cloud.FileInfo();
fileInfo.filePath = "WordProcessing/password-protected.docx";
fileInfo.password = "password";
let loadOptions = new editor_cloud.WordProcessingLoadOptions();
loadOptions.fileInfo = fileInfo;
loadOptions.outputPath = "output";
let loadResult = await editApi.load(new editor_cloud.LoadRequest(loadOptions));
// Download/edit HTML at the client, then upload changes...
let saveOptions = new editor_cloud.WordProcessingSaveOptions();
saveOptions.fileInfo = fileInfo;
saveOptions.outputPath = "output/edited.docx";
saveOptions.htmlPath = loadResult.htmlPath;
saveOptions.resourcesPath = loadResult.resourcesPath;
let saveResult = await editApi.save(new editor_cloud.SaveRequest(saveOptions));Python SDK for the GroupDocs.Editor Cloud REST API.
- groupdocs-editor-cloud-python — SDK
- groupdocs-editor-cloud-python-samples — Examples
import groupdocs_editor_cloud
edit_api = groupdocs_editor_cloud.EditApi.from_keys(client_id, client_secret)
file_info = groupdocs_editor_cloud.FileInfo(
"WordProcessing/password-protected.docx", None, None, "password"
)
load_options = groupdocs_editor_cloud.WordProcessingLoadOptions()
load_options.file_info = file_info
load_options.output_path = "output"
load_result = edit_api.load(groupdocs_editor_cloud.LoadRequest(load_options))
# Download/edit HTML at the client, then upload changes...
save_options = groupdocs_editor_cloud.WordProcessingSaveOptions()
save_options.file_info = file_info
save_options.output_path = "output/edited.docx"
save_options.html_path = load_result.html_path
save_options.resources_path = load_result.resources_path
save_result = edit_api.save(groupdocs_editor_cloud.SaveRequest(save_options))Ruby SDK for the GroupDocs.Editor Cloud REST API.
- groupdocs-editor-cloud-ruby — SDK
- groupdocs-editor-cloud-ruby-samples — Examples
require 'groupdocs_editor_cloud'
edit_api = GroupDocsEditorCloud::EditApi.from_keys($client_id, $client_secret)
file_info = GroupDocsEditorCloud::FileInfo.new
file_info.file_path = "WordProcessing/password-protected.docx"
file_info.password = "password"
load_options = GroupDocsEditorCloud::WordProcessingLoadOptions.new
load_options.file_info = file_info
load_options.output_path = "output"
load_result = edit_api.load(GroupDocsEditorCloud::LoadRequest.new(load_options))
# Download/edit HTML at the client, then upload changes...
save_options = GroupDocsEditorCloud::WordProcessingSaveOptions.new
save_options.file_info = file_info
save_options.output_path = "output/edited.docx"
save_options.html_path = load_result.html_path
save_options.resources_path = load_result.resources_path
save_result = edit_api.save(GroupDocsEditorCloud::SaveRequest.new(save_options))- In-browser Word editing — Let users edit DOCX content as HTML inside your web app.
- Template customization — Load a master document, tweak HTML, and save a personalized copy.
- Spreadsheet tweaks — Edit workbook content without requiring Excel on the server.
- Presentation updates — Adjust slide text via HTML round-trip for CMS workflows.
- Secure document portals — Edit password-protected files after authenticating the user.
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 |
|---|---|
| HTML round-trip | Load documents to editable HTML, then save back to native formats. |
| WordProcessing | DOC, DOCX, RTF, ODT, and related formats. |
| Spreadsheets & presentations | Edit Excel/OpenDocument spreadsheets and PowerPoint slides. |
| Password-protected files | Open protected documents by supplying a password. |
| Font extraction | Optionally extract embedded fonts for faithful HTML rendering. |
| Cloud storage | Upload, download, and manage files used by edit operations. |
| Resource | Link |
|---|---|
| Documentation | GroupDocs.Editor 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.Editor apps — try editing in the browser. |
| API reference | REST API Reference — Swagger/OpenAPI. |
document-editor edit-docx edit-word html-editor online-document-editor edit-spreadsheet edit-presentation editor-api groupdocs-editor-cloud editor-sdk