{"repo":"AstraBert/PdfItDown","free":true,"listed":false,"github":"https://github.com/AstraBert/PdfItDown","clone":"git clone https://github.com/AstraBert/PdfItDown.git","description":"Convert Everything to PDF","language":"Rust","stars":250,"topics":["csv","docx","html","json","markdown","package","pdf","pdf-conversion","powerpoint","pypi"],"license":"MIT","category":"media-processing","readme_excerpt":"PdfItDown Convert Everything to PDF Looking for the legacy python package? PdfItDown is a Rust-based tool and library that converts text-based files, images, office documents, and markup files to PDF. It is built on top of markdown2pdf , office2pdf , and image crates to carry out fast, reliable conversions. Visit us on our documentation website! Applicability PdfItDown is applicable to the following file formats: - Markdown ( .md ) - HTML ( .html , .htm ) - PowerPoint ( .pptx ) - Word ( .docx ) - Excel ( .xlsx ) - Text-based formats ( .txt , .csv , .xml , .json , and more) - Image files ( .png , .jpg , .jpeg , .webp , .tiff , .tif , .bmp , .svg ) - PDF (pass-through) How does it work? PdfItDown works in a very simple way: - From markdown / HTML to PDF - From image to PDF - From Office documents to PDF - From other text-based file formats to PDF Installation and Usage PdfItDown is distributed as a Rust crate, a standalone CLI binary, and bindings for Python, TypeScript/Node.js, and WebAssembly. Rust (Crate + CLI) Install the CLI Note: The CLI requires the cli feature (enabled by default). To install the library only without CLI support, use cargo install pdfitdown --no-default-features . You can now use the command line tool : An example usage can be: Or you can use it inside your Rust projects : You can also convert multiple files at once : - In the CLI: - In the Rust API: You can bulk-convert all the files in a directory : - In the CLI: - In the Rust API: Python Python bindi","default_branch":null,"files":null,"tree":[],"storefront":"/r/AstraBert","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AstraBert/PdfItDown/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}