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.
$ dotnet add package GroupDocs.Conversion-CLI
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.
See the Features overview documentation topic for more details.
See the Supported file formats documentation topic for a complete list of supported formats.
GroupDocs.Conversion CLI is a dotnet tool. To start using the CLI you'll need .NET runtime and GroupDocs.Conversion CLI:
dotnet tool install --global GroupDocs.Conversion-CLIgroupdocs-conversionGroupDocs.Conversion CLI is also distributed as a self-contained executable.
groupdocs-conversion convert --source source.docx --output-file ./converted.pdf
groupdocs-conversion convert --source source.docx --output-directory ./converted --target-format png
groupdocs-conversion get-document-info --source source.docx
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
--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
--source [short: -s]: Specifies the source document that will be converted (Required)--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
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.
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