Java Cloud SDK for Document Conversion

Develop applications to convert documents of popular file formats back and forth using document conversion cloud SDK for Java & REST API.

  • GroupDocs.Conversion Cloud SDK for cURL
  • GroupDocs.Conversion Cloud SDK for .NET
  • GroupDocs.Conversion Cloud SDK for PHP
  • GroupDocs.Conversion Cloud SDK for Python
  • GroupDocs.Conversion Cloud SDK for Ruby
  • GroupDocs.Conversion Cloud SDK for Node.js
  • GroupDocs.Conversion Cloud SDK for Android
  • GroupDocs.Conversion Cloud SDK for Go
Start Free Trial

The GroupDocs.Conversion Cloud SDK for Java has been developed to help you get started with using our document conversion REST API, allowing to seamlessly convert your documents to any format you need. With this single API, you can convert back and forth between over 50 types of documents and images, including all Microsoft Office and OpenDocument file formats, PDF documents, HTML, CAD, raster images and many more.

How to convert a file on Android

  • Create an instance of ConversionApi using available AppSid and AppKey.
  • Create an instance of ConvertSettings to change our conversion settings.
  • Set input file using ConvertSettings.setFilePath method.
  • Set desired output format using ConvertSettings.setFormat method.
  • Set output directory using ConvertSettings.setOutputPath method.
  • Use ConversionApi.convertDocument method to start conversion.

Frequently Asked Questions

I want to create my own Java application to convert documents?

Check out GroupDocs.Conversion Cloud SDK for Java at GitHub if you are looking for the source code to convert file in the Cloud.

Can I try GroupDocs.Conversion REST APIs on Java for free?

You can try GroupDocs.Conversion Low-Code Java APIs without any limitations.

I do not want to upload my confidential files anywhere? What are my options?

GroupDocs.Conversion Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Conversion High-code APIs which currently drive our REST APIs.

Advanced Document Conversion API Features

Convert across all common formats

Convert page by page or custom range of pages

Watermark pages

Get high quality output files

Password protect output document

APIs are secured and require authentication

API explorer based on swagger collection

Convert a Multitude of Document Formats

GroupDocs.Conversion REST API has the capability to perform document conversions on a number of document formats. It converts accurately making sure that the details are preserved while converting the document. Word Processing Document can be quickly converted into spreadsheet using below mentioned few lines of code:

Convert DOCX to XLSX using Cloud API - Java

//Get your App SID and App Key at https://dashboard.groupdocs.cloud (free registration is required).

ConversionApi apiInstance = new ConversionApi("AppSID", "AppKey");

ConvertSettings settings = new ConvertSettings();
settings.setStorageName("Storage Name");
settings.setFilePath("documents/myDocument.docx");
settings.setFormat("xlsx");

// Load a Word Processing Document ( DOCX ) to convert into any supported format
DocxLoadOptions loadOptions = new DocxLoadOptions();
loadOptions.setPassword("password");
loadOptions.setHideWordTrackedChanges(true);
loadOptions.setDefaultFont("Arial");

settings.setLoadOptions(loadOptions);

// Conversion Settings to convert into a Spreadsheet document
XlsxConvertOptions convertOptions = new XlsxConvertOptions();
convertOptions.setFromPage(1);
convertOptions.setPagesCount(2);
convertOptions.setFromPage(1);
convertOptions.setPassword("password");
convertOptions.setUsePdf(true);

settings.setConvertOptions(convertOptions);
settings.setOutputPath("documents/converted-docs");

// Convert to Specified Format
List response = apiInstance.convertDocument(new ConvertDocumentRequest(settings));

Get Started in No Time

With GroupDocs.Conversion Cloud API, you can start converting your files right away as there is no need to install anything. The API is clearly documented and comes with SDKs and live examples for all major languages. Our GroupDocs.Conversion SDKs along with working examples hosted at Github helps our users to get started in no time.

Security and Authentication

The GroupDocs.Conversion Cloud API is secured and requires authentication. You need to register at GroupDocs Cloud and get the app access key ID (appSID) and app secret access key. Authenticated requests require a signature and AppSID query parameters or OAuth 2.0 authorization header.

API Explorer

The easiest way to try out GroupDocs.Conversion Cloud API right away in your browser is by using GroupDocs Cloud Web API explorer, which is a collection of Swagger documentation for the GroupDocs Cloud APIs.It allows you to effortlessly interact and try out every single operation our APIs exposes.

Convert Documents using GroupDocs.Conversion

JSON to OTT M4A to WAV PLT to OTT TAR to PPSX AI to JPEG MBOX to ICO DXF to XPS DJVU to POTX CHM to JPG STL to TIF PSB to TIF DOT to PNG SVG to ODS DOC to POTM XLT to TXT OGG to M4A OST to GIF AAC to WAV Outlook to PSD ICO to Word FODG to EMF OXPS to ODS DWG to PPTX GZ to XLSX Word to DIF RAR to EPUB DOC to DOTM Outlook to XPS VDX to TXT WEBP to WMF PPSX to WMF TEX to HTML Word to TSV PNG to JPG PSD to PPTX ICO to EMF EPS to JPG JP2 to EMF VDX to DOTX XML to ODT VSTX to VDX PST to PPT DCM to POTX JPF to HTML PPS to TEX JSON to JPG JPF to JPG CF2 to EMF WMF to PNG XLTX to XLSM CGM to PPS JPEG to TSV VSDX to VSDM MOBI to GIF VSSX to HTML VST to EMF STL to SVG PPTX to MD JPF to PPSM MD to EMF IFC to MHTML DXF to JPG XLSX to XLSM JPG to TGA HTML to CSV GZIP to JPG DXF to DOTM JPG to POTM DWFX to PPS IFC to HTML MOBI to ODT DOCM to XLSM JPM to TIF MBOX to JPG OTT to DOCX DJVU to JPG RAR to ODS ZIP to BMP ODT to SVG OXPS to XLS Project to CSV CSV to PowerPoint MBOX to ODT TAR to DIF ZIP to TIF MD to MHTML MSG to EML CSV to PNG MD to ODS VSDX to PPTM VSDX to PDF SVG to ICO Outlook to WMF XLT to JSON VTX to MHTML DWG to ODS DICOM to CSV PowerPoint to EPUB JPG to ODS JPEG to TIFF MSG to DOCX 7Z to MHTML DOCX to MD ODP to WMF XLSB to JSON DIB to TIF WMF to WEBP DWT to JPG MHT to HTML MPP to SVG WEBM to MKV NSF to MHTML PPT to PPS MHTML to GIF ODT to JPEG SXC to MHTML XPS to MD PSD to DICOM WMV to MP4 MPT to JPG XLTX to PDF GZIP to TSV DXF to HTM FODS to DOC CF2 to PDF CMX to PowerPoint WEBP to Word SXC to ODS DOT to CSV JSON to PNG PowerPoint to CSV CF2 to JPG DWT to Excel MPT to GIF VSS to DOC XML to DIF WMF to TIFF CMX to TIFF PS to PDF PowerPoint to PSD MBOX to ODS ODT to PDF SXC to POT BMP to JP2 PSD to ODT VST to VSDX PLT to MHTML VSDX to SVGZ DICOM to PNG SVGZ to WMZ

Support and Learning Resources

GroupDocs.Conversion Cloud also offers individual document rendering SDKs for other popular languages as listed below:

  English
9a86c5d56