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

JPG to JP2 Outlook to ICO DNG to TIFF FODP to PPTX STL to JPEG XLS to XLSX CDR to TIFF STL to DOC GZIP to TEX AI to PPSX Project to BMP GIF to Word DXF to SVG ODS to CSV DXF to EMF MPP to JPEG GZ to DIF XML to TIFF MSG to EML EML to RTF BZ2 to OTT MHTML to TIFF AI to ODS IFC to SVG TIFF to SVG MPP to SVG RAR to JPG BZ2 to DOCX BZ2 to SVG VSSX to WMZ LOG to WMF CMX to ODS MP3 to WAV PPT to PPS OGG to FLAC OTP to PDF SVG to PSB SQL to MD EMF to Excel DOTX to MHT PLT to ODS CGM to EMF EPS to MHTML MHT to JPG OTT to DCM JSON to PNG ONE to DICOM AI to ODT CDR to ODP RAR to WMF OTP to PPTX PLT to WMF DWT to EMF PSD to PNG MSG to JPG ODG to PSD ODT to MHT ODS to ICO DWF to DICOM JPG to MHTML DXF to MHTML ODG to SVG ODG to PDF ZIP to ODS VSDX to PDF VSSX to VSDM PPTM to PPTX SVG to TSV DOC to JPG PPS to XLSX ODS to SVG DOT to SVG XML to DOC CHM to DICOM IGS to SVG IFC to JPG STL to TIFF OST to MD DICOM to ODS RTF to TEX JPX to PNG MPT to JPG EPUB to ODT ONE to HTML Project to ODS PLT to EMF MPT to XLSX DWT to MHTML J2K to SVG GZIP to XLSB DNG to Excel ODT to HTML PNG to EMZ OST to PPS PNG to MD TGA to EMF WMF to WEBP PPTX to TXT SVG to MHTML Outlook to PSB PS to MHTML PS to Word 7Z to EMF EPUB to POTM SXC to FODS EMF to MD PST to DOTM EML to DIF VSDM to VSSX ODT to MD ODS to XML GZIP to JP2 DNG to BMP TXT to MHT ODP to PDF PSD to OTP IGS to POT PSB to JPG DNG to PowerPoint TAR to EMF PLT to HTML XLSX to XLS ODP to PNG VST to TXT ODG to WEBP PPT to JPEG XLSB to JSON NUMBERS to EPUB DICOM to WEBP EML to MHT CF2 to TIFF PPT to DOC MHT to PNG DIB to ICO PSD to SVG IFC to EMF DWG to TXT JP2 to EMF CHM to ODS MPX to XLS CGM to TGA DNG to ODS SXC to MHTML TIF to DCM RAR to DICOM BZ2 to PDF PPSM to PPSX SVG to JP2 VTX to WMF IGS to JPG

Support and Learning Resources

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

  English
9a86c5d56