Skip to content
Back to skills

File Converter

BSecurity

File format converter. Detect formats, convert between JSON/YAML/XML/CSV/Markdown, minify and prettify code. Commands: detect, json2yaml, yaml2json, csv2md, md2csv, xml2json, json2xml, minify, prettify. Use for data format conversion, code compression, code beautification.

  • 33 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
toolsgobash

Security analysis

B75/100
  • criticalPipes output to a shell interpreter

Pro scans all 3 files and shows the line behind each finding

Scanned May 30, 2026

npx -y skills add dvcrn/openclaw-skills-marketplace --skill file-converter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of File Converter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for File Converter
[![Security: B β€” Skills Directory](https://www.skillsdirectory.com/api/skills/dvcrn-file-converter/badge)](https://www.skillsdirectory.com/skills/dvcrn-file-converter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: file-converter
description: "File format converter. Detect formats, convert between JSON/YAML/XML/CSV/Markdown, minify and prettify code. Commands: detect, json2yaml, yaml2json, csv2md, md2csv, xml2json, json2xml, minify, prettify. Use for data format conversion, code compression, code beautification."
---

# πŸ”„ File Converter

> One command, any format. Convert between JSON, YAML, XML, CSV, and Markdown. Minify and prettify code files.

## Quick Start

```bash
bash scripts/convert.sh <command> [file]
```

## Commands

| Command | Description | Example |
|---------|-------------|---------|
| `detect <file>` | Auto-detect file format | `detect data.txt` |
| `json2yaml <file>` | JSON β†’ YAML | `json2yaml config.json` |
| `yaml2json <file>` | YAML β†’ JSON | `yaml2json config.yaml` |
| `csv2md <file>` | CSV β†’ Markdown table | `csv2md report.csv` |
| `md2csv <file>` | Markdown table β†’ CSV | `md2csv table.md` |
| `xml2json <file>` | XML β†’ JSON | `xml2json data.xml` |
| `json2xml <file>` | JSON β†’ XML | `json2xml data.json` |
| `minify <file>` | Compress JSON/CSS/JS | `minify app.js` |
| `prettify <file>` | Beautify code | `prettify min.json` |

## Workflow

1. Run `detect` to confirm source format
2. Pick the right conversion command
3. Use `prettify` to verify output readability
4. Use `minify` to compress production files

## Notes

- Output goes to stdout β€” redirect with `>` to save
- Supports pipe input: `cat data.json | bash scripts/convert.sh json2yaml -`
- Run `detect` first on unknown files to avoid garbled output

Files in this skill

  • SKILL.md1.5 KB
  • scripts/convert.sh12.2 KB
  • tips.md698 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…