json-csv-converter / README.md
mesaman123's picture
Upload folder using huggingface_hub
9850914 verified

A newer version of the Gradio SDK is available: 6.18.0

Upgrade
metadata
title: JSON/CSV Converter
sdk: gradio
app_port: 7860

๐Ÿ”„ JSON/CSV Converter

Convert between JSON and CSV formats with customizable options.

Features

  • JSON to CSV - Convert JSON objects/arrays to CSV format
  • CSV to JSON - Convert CSV data to JSON objects
  • Custom Delimiters - Support for comma, semicolon, tab, pipe
  • Custom Quotes - Choose quote characters for CSV
  • Type Preservation - Automatically detects numbers, booleans, strings
  • Nested Objects - Handles complex JSON structures

How to Use

JSON to CSV

  1. Paste your JSON data
  2. Choose delimiter and quote character
  3. Click "Convert to CSV"
  4. Copy the CSV output

CSV to JSON

  1. Paste your CSV data
  2. Choose delimiter
  3. Set if first row is header
  4. Click "Convert to JSON"
  5. Copy the JSON output

Example

JSON Input

[
  {"name": "John", "age": 30, "city": "New York"},
  {"name": "Jane", "age": 25, "city": "Boston"}
]

CSV Output

name,age,city
John,30,New York
Jane,25,Boston

Built With

  • Gradio - For the interactive UI
  • Python - For the backend logic
  • HuggingFace Spaces - For free hosting

License

MIT License - Free for personal and commercial use.


Built by AI, tested by humans