Data Export
Export spreadsheet data to CSV, JSON, HTML, and query formats
📄 Export to CSV
Basic CSV Export
// Load and export to CSV
csv = Spreadsheet( "employees.xlsx" ).toCSV();
// Save to file
fileWrite( "employees.csv", csv );CSV with Custom Delimiter
sheet = Spreadsheet( "data.xlsx" );
// Export with semicolon delimiter
csv = sheet.toCSV( delimiter = ";" );
// Export with tab delimiter
csv = sheet.toCSV( delimiter = chr(9) );
fileWrite( "data.csv", csv );CSV from Specific Sheet
CSV with Headers
🔤 Export to JSON
Array of Objects
Pretty-Printed JSON
JSON with Custom Structure
🗄️ Export to Query
Basic Query Conversion
Query with Custom Column Names
Query from Specific Range
🌐 Export to HTML
Simple HTML Table
HTML with Custom Styling
📦 Export to Array
Array of Arrays
Array of Structs
Array with Specific Columns
🔄 Batch Export
Export All Sheets to CSV
Export Multiple Formats
🎯 Export Patterns
Pattern: Filtered Export
Pattern: Transformed Export
Pattern: Export with Metadata
Pattern: Chunked Export
📊 Export for APIs
REST API Response
GraphQL Response Format
📦 Export to Binary
Get Spreadsheet as Binary
Stream Binary Download
🔄 Import and Export Pipeline
CSV to Excel
Excel to Database
Database to Excel Export
📚 Next Steps
Advanced FeaturesExamplesFluent APILast updated
Was this helpful?
