Single File Conversions
SwissKnife supports conversion between a wide variety of document formats using theconvert command.
Word Documents to PDF
Convert Microsoft Word documents to PDF format:Markdown to PowerPoint
Transform Markdown files into PowerPoint presentations:Text to Word Documents
Convert plain text files to formatted Word documents:Excel to PDF
Export Excel spreadsheets as PDF files:Org Mode to LaTeX
Convert Org-mode files to LaTeX format:Batch Document Conversion
Convert entire directories of documents at once using thebatch-convert command:
Common Batch Scenarios
Convert all Markdown files to DOCX:Preserving Original Files
By default, conversions may modify the original file during processing. Use the--preserve-original flag to keep the original intact:
Supported Document Formats
SwissKnife supports conversion between these document formats:- PDF - Portable Document Format
- DOCX/DOC - Microsoft Word
- TXT - Plain text
- MD - Markdown
- EPUB - E-book format
- PPTX - PowerPoint presentations
- XLSX - Excel spreadsheets
- HTML - Web pages
- TEX - LaTeX documents
- XML - Extensible Markup Language
- BIB - BibTeX bibliography
- JSON - JavaScript Object Notation
- RST - reStructuredText
- RTF - Rich Text Format
- ODT - OpenDocument Text
- ORG - Org-mode
- IPYNB - Jupyter Notebooks
- FB2 - FictionBook
- ICML - InCopy Markup Language
- OPML - Outline Processor Markup Language
- TEXI - Texinfo
- TEXTILE - Textile markup
- TYP - Typst
- MUSE - Muse markup
Tips for Document Conversions
Text Files Use Markdown Format: When converting
.txt files, SwissKnife treats the content as Markdown format internally for better formatting preservation.Performance Considerations
- Large files (>50MB) may take several minutes to convert
- PDF generation is slower due to LaTeX compilation
- Batch conversions process files sequentially, not in parallel
- Use
--preserve-originalwhen working with important source files
Common Use Cases
- Academic Writing: Convert Markdown notes to LaTeX or Word documents
- Report Generation: Transform Excel data to PDF reports
- Documentation: Batch convert Markdown docs to PDF for distribution
- Presentations: Create PowerPoint slides from Markdown outlines
- E-books: Convert between EPUB and other document formats