file-converter

Convert files between data, document, and image formats using Python and pandoc.

1|Updated Aug 24, 2025
One-click install
npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill file-converter-pixoraft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-converter
Source: https://github.com/Pixoraft/KirpalSecure-site/tree/main/.local/secondary_skills/file-converter
Command: npx skills add https://github.com/Pixoraft/KirpalSecure-site --skill file-converter-pixoraft

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, pyyaml, xmltodict, pypandoc_binary, markdown, markdownify, python-docx, pdfplumber, pdf2image, pypdf, Pillow, pillow-heif, cairosvg, 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, eliminating the need for multiple specialized tools or manual copy-pasting.

Core Features & Use Cases

  • Data Format Conversion: Seamlessly convert between CSV, JSON, YAML, and XML.
  • 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: Convert a JSON configuration file to YAML for a new project, or transform a Word document into a Markdown file for easier web publishing.

Quick Start

Convert the file 'report.docx' to 'report.md' using the file-converter skill.

Frequently Asked Questions about file-converter

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

FAQPage Schema
How do I convert JSON to YAML for a configuration file?

To convert JSON to YAML, you need a tool that translates data interchange formats. This Skill processes JSON inputs and outputs structured YAML files, streamlining configuration management for new projects using Python libraries.

Can I convert a Word document to Markdown for web publishing?

Yes, you can convert a Word document to Markdown for web publishing. This Skill uses the pandoc CLI to transform DOCX files into Markdown files, facilitating easier web content preparation and editing workflows.

What is the best way to convert CSV to JSON for data interchange?

The best way to convert CSV to JSON for data interchange is using a Python-based conversion tool. This Skill leverages the pandas library to parse CSV files and export them as structured JSON data.

Does this file conversion approach support transforming SVG images to PNG?

Yes, this file conversion approach supports transforming SVG images to PNG. This Skill utilizes the cairosvg library to convert SVG files into raster image formats like PNG, JPG, and WebP.

How do I extract text from a PDF and convert it to HTML?

To extract text from a PDF and convert it to HTML, you need a document transformation tool. This Skill uses pdfplumber and pypdf to parse PDF content and pandoc to generate the final HTML document.

Are there limitations when converting documents with pandoc?

Limitations when converting documents with pandoc involve complex formatting retention. This Skill handles standard Markdown, HTML, DOCX, and PDF conversions, but highly stylized documents may lose specific layout attributes during the transformation process.