XLGen Home

XLGen v0.1.0

Documentation

Clean reference docs for all public conversion tools shown on the landing page. Includes input/output expectations, key options, and practical examples.

CSV → JSON

csvjson

Convert comma-separated values to JSON array

Input

CSV Data

Output

JSON Output

Features

  • Responsive design with Tailwind CSS
  • Lucide React icon integration
  • Optional help modal with JSON display
  • Accessible dialog implementation
  • Customizable through props
  • TypeScript support

JSON → CSV

jsoncsv

Transform JSON arrays into CSV format

Input

JSON Data

Output

CSV Output

Features

  • Automatically detects all column headers from the first object
  • Handles missing keys with empty cells
  • Strings containing commas or quotes are automatically escaped
  • Supports arrays and objects by converting them to JSON strings
  • Download output as a .csv file

CSV → YAML

csvyaml

Convert CSV data to YAML format

Input

CSV Data

Output

YAML Output

Features

  • First row automatically used as YAML mapping keys
  • Each subsequent row becomes a YAML list item
  • Whitespace in values is preserved
  • Output is human-readable YAML 1.2 format
  • Download output as a .yaml file

YAML → JSON

yamljson

Parse YAML and output as JSON

Input

YAML Data

Output

JSON Output

Features

  • Full YAML 1.2 support including anchors and aliases
  • Nested objects and arrays are preserved
  • Boolean, null, and numeric types are correctly mapped to JSON
  • Output is pretty-printed with 2-space indentation
  • Download output as a .json file

Excel → JSON

exceljson

Read Excel files and convert to JSON

Input

Upload Excel File

Output

JSON Output

Features

  • Supports both modern .xlsx and legacy .xls formats
  • First row is automatically used as JSON keys
  • Numeric, boolean, and date cell types are correctly typed
  • All processing is client-side — your file stays on your device
  • Download output as a .json file

JSON → YAML

jsonyaml

Convert JSON data to YAML format

Input

JSON Data

Output

YAML Output

Features

  • Produces clean, minimal YAML without unnecessary quotes
  • Nested objects and arrays are correctly indented
  • Booleans and numbers are preserved as YAML native types
  • Null values rendered as bare YAML null
  • Download output as a .yaml file

CSV → SQL INSERT

csvsql

Generate SQL INSERT statements from CSV

Input

CSV Data

Output

SQL Output

Features

  • One INSERT statement generated per data row
  • String values are single-quoted and apostrophes escaped
  • Numeric values are inserted without quotes
  • Empty cells become SQL NULL
  • Compatible with MySQL, PostgreSQL, and SQLite syntax
  • Download output as a .sql file

CSV → Markdown

csvmarkdown

Convert CSV to Markdown table format

Input

CSV Data

Output

Markdown Output

Features

  • Generates GitHub-Flavored Markdown (GFM) table syntax
  • Column widths are padded for readability in raw form
  • Separator row automatically inserted after header
  • Pipe characters in cell values are escaped
  • Download output as a .md file

JSON → C#

jsoncsharp

Generate C# classes from JSON

Input

JSON Data

Output

C# Classes

Features

  • Infers int, double, bool, string, and nested object types
  • Arrays are mapped to List<T> with the correct element type
  • Nested objects generate separate named classes
  • Property names are converted to PascalCase
  • Compatible with System.Text.Json and Newtonsoft.Json
  • Conversion requires clicking the Convert button (AI-assisted)
  • Download output as a .cs file