File Converter
VerifiedFile format converter. Detect formats, convert between JSON/YAML/XML/CSV/Markdown, minify and prettify code. Commands: detect, json2yaml, yaml2json, csv2md.
$ Add to .claude/skills/ About This Skill
# 🔄 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
- Run `detect` to confirm source format
- Pick the right conversion command
- Use `prettify` to verify output readability
- 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
- ---
- 💬 Feedback & Feature Requests: https://bytesagain.com/feedback
- Powered by BytesAgain | bytesagain.com
Requirements - bash 4+ - python3 (standard library only)
Use Cases
- Convert between JSON, YAML, XML, CSV, and Markdown file formats with one command
- Minify and prettify code files for deployment or readability
- Transform configuration files between formats when migrating between tools
- Auto-detect file format when the extension is ambiguous or missing
- Batch convert multiple files between formats in a single operation
Pros & Cons
Pros
- +One tool handles all common data format conversions: JSON, YAML, XML, CSV, Markdown
- +Auto-detection removes guesswork when file extensions are missing
- +Minify/prettify support covers both deployment and development needs
Cons
- -Conversion between fundamentally different formats may lose structural information
- -Only available on claude-code and openclaw platforms
- -Complex nested data structures may not convert cleanly to flat formats like CSV
FAQ
What does File Converter do?
What platforms support File Converter?
What are the use cases for File Converter?
100+ free AI tools
Writing, PDF, image, and developer tools — all in your browser.
Next Step
Use the skill detail page to evaluate fit and install steps. For a direct browser workflow, move into a focused tool route instead of staying in broader support surfaces.