Package selection guidance compiled from public package information, community data, and project usage.
A Flutter package that converts Excel (.xlsx) files to JSON format, supporting multiple worksheets and providing robust error handling. It enables seamless integration of spreadsheet data into Flutter applications across all major platforms. The package is ideal for importing structured data from Excel files into apps, ensuring accurate parsing and reliable results even with complex spreadsheets. Designed for developers needing efficient data transformation from Excel to JSON without external dependencies.
Use cases
Importing data from Excel files into Flutter apps
Converting multi-sheet Excel files to JSON
Parsing structured spreadsheet data in web and mobile apps
Automating data ingestion from Excel sources
Handling large or complex Excel files with error resilience
Key features
Supports multiple worksheets in a single Excel file
Developers building apps that require Excel data import
Teams working with structured spreadsheet data
Applications needing automated data processing from Excel
Mobile and web apps requiring offline data import
Projects involving data migration from Excel to JSON
Considerations
Requires valid .xlsx files for successful conversion
Large files may impact performance on lower-end devices
Limited to Excel (.xlsx) format, not .xls
No built-in UI for file selection (must integrate with file picker)
Dependent on underlying parsing library for accuracy
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Excel to JSON
A Flutter package that converts Excel (.xlsx) files to JSON format, making it easy to work with spreadsheet data in your Flutter applications.
🚀 Quick Example
import'package:excel_to_json/excel_to_json.dart';
// Simple conversionfinal converter = ExcelToJson();
final jsonString = await converter.convert(); // Opens file picker// With custom configuration final converter = ExcelToJson(
config: ExcelToJsonConfig(
includeEmptyRows: true,
verbose: true,
),
);
final result = await converter.convert();
Features
✅ Simple Integration - Easy to use API with just a few lines of code
✅ Multiple Worksheets - Supports Excel files with multiple sheets
✅ Type Safety - Handles various cell types (text, numbers, dates, formulas, booleans)
✅ Configurable - Customizable conversion options
✅ Error Handling - Comprehensive error reporting and logging
✅ Cross Platform - Works on Android, iOS, Web, and Desktop