Java API for Document Format Conversion

API to Integrate Business Document Conversion Functionality in Java Applications for 50+ Document Formats.

  Download Free Trial
Java document conversion API

GroupDocs.Conversion for Java

 

GroupDocs.Conversion for Java helps developers build Java based applications with file conversion functionality for more than 50 file formats. It supports business document conversion among documents, spreadsheets, slides, raster images, CAD, PSD, PDF and other file formats. With its features such as, auto-detect file type, configure and place watermark, GroupDocs.Conversion for Java offers lot more than just basic conversion.

Previous Next

GroupDocs.Conversion for Java Features

 

  

Easy Integration & Metered Licensing

  

Apply Default Zoom while Conversion to Words, Slides or Cells

  

Conversion to/from most Popular Raster Image Formats & Specify Image DPI, Height & Width

  

Ability to Grayscale PDF & Image while Converting

  

Set & Specify Watermark in Converted Document as Background

 

Configure Watermark Transparency & Custom Font Directories

  

Specify Default Font to Replace Missing Fonts while Converting Documents & Spreadsheets

  

Convert and Get Output as Path or IO Stream

  

Delete Comments from Slides during Conversion & Keep Grid-lines while Converting Spreadsheet

  

Specify Cell Range in Spreadsheet for Conversion & Convert Specific Pages of Document into PDF

  

Convert Spreadsheet by Skipping Empty Rows and Columns & Show Hidden Sheets

  

Count Total Pages of a Document & Specify Document Password during Conversion

  

Option to Delete PDF Annotations

  

Auto-detection of Source Document Type & Get All Possible Conversions during Streamed Conversion

  

Get Each Page in Separate Stream during HTML Conversion

  

Convert Word Documents with Track Changes & Show/Hide Markup

  

Get all Layouts for CAD Document Type & Specify which Layout to convert from a CAD Document

  

Set Specific Width and Height for each Layout from a CAD Document

Read Document from URL or Path for Conversion

Using GroupDocs.Conversion for Java API, you can read input document from a file path as well as a URL. While you can save the output document as a file or sent the output directly into stream.

Easy Document Format Conversion using Java

You can convert file format of multitude of document types using GroupDocs.Conversion for Java API. Here you are presented with a few lines of code to perform a basic document conversion using Java.

Easy Document Format Conversion using Java

 // Setup Conversion configuration
ConversionConfig config = new ConversionConfig();
config.setStoragePath("D:\storage\");  
 // Initailize ConversionHandler
ConversionHandler conversionHandler = new ConversionHandler(config);
WordsSaveOptions saveOption = new WordsSaveOptions(); //Define save options
saveOption.setOutputType(OutputType.String); 
//Convert and save
ConvertedDocument convertedDocumentPath = conversionHandler.<String>convert("sample.pdf", saveOption);
convertedDocumentPath.save(fileName +"." + convertedDocumentPath.getFileType());

Comprehensive Technical Support

GroupDocs.Conversion for Java is a simple and to-the-point API that you can integrate into your Java based applications pretty easily. However, to get you up and running in no time, we also provide easy to follow code samples and comprehensive API documentation.

Support and Learning Resources

 

GroupDocs.Conversion offers document automation APIs for other popular development environments as listed below: