🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

GroupDocs.Conversion-CLI

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

GroupDocs.Conversion-CLI

GroupDocs.Conversion CLI - dotnet tool to convert over 170 file and document types. Supported document formats: * Portable Document Formats - PDF (PDF/A-1a, PDF/A-1b, PDF/A-2a), XPS, OXPS, TEX; * Microsoft Word® Documents - DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT, VCF; * Apple SpreadSheets - NUMBERS; * Microsoft Excel® Spreadsheets - XLS, XLSX, XLSM, XLSB, CSV, TSV, XLAM, XLTX, FODS, SXC, SpreadsheetML; * Microsoft PowerPoint® Presentations - PPT, PPTX, PPS, PPSX, PPTM, POTX, POT, POTM, PPSM; * Microsoft Visio® Diagrams - VSD, VSDX, VSS, VST, VSTX, VSTM, VSSX, VSSM, VSX, VTX, VDW, VDX, SVG, SVGZ, VSDM; * Microsoft Project® Formats- MPP, MPT, MPX; * Microsoft OneNote® Formats - ONE; * Microsoft Outlook® Formats - PST, OST; * Open Document Formats - ODT, FODG, ODG, OTG, FODT, OTT, ODS, OTS, FODP, ODP, OTP; * Archive Formats - ZIP, TAR, BZ2, GZ, RAR, 7-Zip, XZ, TXZ, TGZ; * CAD Formats - DXF, DWG, DWT, STL, IFC, DWF, DGN, PLT, HPG, OBJ, CF2, IGS; * Ebook Formats - EPUB, MOBI; * Image Formats - CDR, CMX, TIFF, TIF, JPG, JPEG, PNG, GIF, BMP, ICO, TGA, JP2, J2C, J2K, JPF, JPX, JPM, DIF, WMF, WMZ, EMF, EMZ, WEBP, DJVU, CGM, PCL, PSD, PSB, DCM, PS, EPS, DIB; * Email Formats - EML, EMLX, MSG, MBox, NSF; * Markup Formats - HTM, HTML, MHT, MHTML, XML; * Programming Language Formats - AS, AS3, ASM, BAT, C, CC, CMAKE, CPP, CS, VB, CSS, CXX, DIFF, ERB, GROOVY, H, HAML, HH, JAVA, JS, JSON, LESS, LOG, M, MAKE, MD, ML, MM, PHP, PL, PROPERTIES, PY, RB, RST, SASS, SCALA, SCM, SCRIPT, SH, SML, SQL, VIM, YAML, PS1, PSD1, PSM1. * Web formats - CHM; For more details on the GroupDocs.Conversion for .NET API, please visit product website at: https://products.groupdocs.com/conversion Note: GroupDocs.Conversion for .NET will run in evaluation mode. In order to test full features of the product, please request a free 30-day temporary license.

25.5.0
Source
NuGet
Version published
Maintainers
2
Created
Source

CLI for GroupDocs.Conversion for .NET

Version 24.5.0 Nuget

banner

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

CLI - Command Line Interface for GroupDocs.Conversion for .NET document conversion and automation API.

GroupDocs.Conversion is a class-library that enables you to build seamless document conversion applications for mobile, web, and desktop platforms using C#, F#, or VB.NET. It supports more than 10 000 combinations for converting popular file formats in HTML, PNG, JPEG, and PDF. Our library is self-sufficient and doesn't depend on any third-party software, such as Microsoft Word, OpenOffice, or other office suites.

Features

See the Features overview documentation topic for more details.

Supported platforms

  • Windows: Microsoft Windows XP and later, Microsoft Windows Server 2003 and later.
  • Linux: Ubuntu, OpenSUSE, CentOS and others.
  • Mac OS X Catalina (10.15) and later.

Supported formats

  • Documents: PDF, XPS, TEX
  • Word: DOC, DOCX, DOCM, DOT, DOTX, DOTM, RTF, TXT
  • Powepoint: PPT, PPTX, PPS, PPSX, ODP, OTP
  • Excel: XLS, XLSX, XLSM, XLSB, XLTM, XLTX, XLT, XLAM
  • Visio: VSDX, VSDM, VSSX, VSTX, VSTM, VSSM, VSX, VTX, VDX
  • OpenDocument: ODT, OTT, ODS
  • Images: BMP, JPEG, PNG, GIF, TIFF, SVG, PS
  • Diagram: VSDX, DRAW, LUCIDCHART
  • CAD & GIS: DWG, DXF, DWF, IFC, SHP, KML, GEOJSON
  • Audio: MP3, WAV, FLAC, AAC, OGG
  • Video: MP4, AVI, MKV, MOV, WMV
  • 3D & Vector: SVG, AI, EPS, CDR, STL, OBJ, FBX, DAE, GLB
  • eBook: EPUB, MOBI, AZW, FB2
  • Web: HTML, MHTML, MHT
  • Archives: ZIP, TAR, RAR, 7Z, BZ2, GZ
  • Email & Outlook: PST, OST, MSG, EML
  • Finance: QFX, OFX
  • OneNote: ONE

See the Supported file formats documentation topic for a complete list of supported formats.

Getting Started

GroupDocs.Conversion CLI is a dotnet tool. To start using the CLI you'll need .NET runtime and GroupDocs.Conversion CLI:

  • Install .NET Core runtime following by the instructions
  • Install dotnet tool by running dotnet tool install --global GroupDocs.Conversion-CLI
  • You can run GroupDocs.Conversion.CLI by using command groupdocs-conversion

GroupDocs.Conversion CLI is also distributed as a self-contained executable.

Example usage

Convert DOCX to PDF

groupdocs-conversion convert --source source.docx --output-file ./converted.pdf

Convert DOCX to PNG

groupdocs-conversion convert --source source.docx --output-directory ./converted --target-format png

Retrieve a document info

groupdocs-conversion get-document-info --source source.docx

Commands

  • convert converts source document to target format. If target format is not provided, the target format is detected from the target file extension.

  • get-document-info gets document information

Parameters

Parameters for "convert" command

  • --output-directory [short: -d]: Specifies the output directory

  • --output-file [short: -f]: Specifies the output document

  • --source [short: -s]: Specifies the source document that will be converted (Required)

  • --target-format [short: -t]: Specifies the desired format after conversion

Parameters for "get-document-info" command

  • --source [short: -s]: Specifies the source document that will be converted (Required)

Parameters for "convert" and "get-document-info" commands

  • --license-path [short: -l]: Specifies the path to the license file

  • --timeout: Specifies the command timeout in seconds

  • --verbose [short: -v]: Specifies whether to output detailed logs

Setting the license

Without a license the tool will work in trial mode so you can convert only first three pages of a document see Evaluation Limitations and Licensing of GroupDocs.Conversion for more details. A temporary license can be requested at Get a Temporary License.

The license can be set with --license-path parameter:

groupdocs-conversion convert --source source.docx --output-file ./converted.pdf --license-path c:\\licenses\\GroupDocs.Conversion.lic

Also, you can set path to the license file in GROUPDOCS_CONVERSION_LICENSE_PATH environment variable.

Support

Our technical support is available to all users, including those evaluating our product. We offer assistance through our Free Support Forum and Paid Support Helpdesk. Let us know if you have any questions or issues, and we'll do our best to help you.

Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License

Keywords

Document-Conversion

FAQs

Package last updated on 30 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts