file-converter

Convert files between data, document, and image formats.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/aryankumarrai/VarAI --skill file-converter-aryankumarrai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-converter
Source: https://github.com/aryankumarrai/VarAI/tree/main/.local/secondary_skills/file-converter
Command: npx skills add https://github.com/aryankumarrai/VarAI --skill file-converter-aryankumarrai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, pyyaml, xmltodict, pypandoc_binary, markdown, markdownify, python-docx, pdfplumber, pdf2image, pypdf, Pillow, cairosvg, pillow-heif, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of converting files between various common formats, saving time and effort on manual data reformatting.

Core Features & Use Cases

  • Data Format Conversion: Seamlessly convert between CSV, JSON, YAML, XML, and Excel.
  • Document Conversion: Transform documents between formats like Markdown, HTML, DOCX, and PDF using pandoc.
  • Image Conversion: Convert between common image formats like JPG, PNG, WebP, and SVG.
  • Use Case: Quickly convert a JSON configuration file to YAML for a new project, or transform a Word document into a Markdown file for web publishing.

Quick Start

Convert the file 'report.csv' to JSON format.

Frequently Asked Questions about file-converter

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a CSV file to JSON format?

To convert a CSV file to JSON, you can use the file-converter Skill to seamlessly transform your data between CSV, JSON, YAML, and XML formats. The process uses the pandas library to parse your structured data and output the converted JSON file directly.

What is the best way to convert Markdown to PDF?

The best way to convert Markdown to PDF is by using a Skill that leverages pandoc for document transformation. This approach supports transforming Markdown, HTML, and DOCX files into PDF format, ensuring your web publishing content remains formatted correctly.

Can I convert SVG images to PNG in Python?

Yes, you can convert SVG images to PNG in Python using the file-converter Skill. It handles image format conversion between JPG, PNG, WebP, and SVG by utilizing the cairosvg and Pillow libraries to rasterize your vector graphics directly within your automated workflow.

Does this tool support batch processing for file conversion?

Yes, this file conversion tool supports batch processing and direct Python integration for automated workflows. You can convert multiple files between data, document, and image formats like CSV, JSON, DOCX, and PDF without manual data reformatting.

How do I transform a YAML configuration file to XML?

To transform a YAML configuration file to XML, use a conversion tool that parses structured data using pyyaml and outputs XML via xmltodict. This Skill seamlessly converts between YAML, XML, JSON, and CSV to streamline your project configuration setup.

What are the limitations of converting PDF to DOCX?

When converting PDF to DOCX, limitations may arise from complex layouts because the process relies on pdfplumber and python-docx to extract and reconstruct text. Highly formatted PDF documents might not retain their exact visual structure after the file conversion process.