GroupDocs.Conversion-CLI
24.8.0
See the version list below for details.
dotnet tool install --global GroupDocs.Conversion-CLI --version 24.8.0
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local GroupDocs.Conversion-CLI --version 24.8.0
#tool dotnet:?package=GroupDocs.Conversion-CLI&version=24.8.0
nuke :add-package GroupDocs.Conversion-CLI --version 24.8.0
CLI for GroupDocs.Conversion for .NET
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
- Thousands of different file conversion pairs: office documents, presentations, spreadsheets, images and much more.
- Ability to convert whole document or specific pages range.
- Place watermarks at document pages during conversion.
- Huge amount of additional options to customize the appearance of the converted document.
- Load document from Amazon S3, Azure Blob, FTP, or from local disk.
- Load document via stream or from a specific URL.
- Load password-protected documents.
- Enable listening of conversion process stages.
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
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.