--- id: xlsx2csv version: "0.8.6" license: unclear license_treatment: permissive maintenance: active --- # xlsx2csv — xlsx to csv converter License: permissive · Maintenance: active · Downloads: 1.6M/mo ## What it is and what it does xlsx2csv is a lightweight command-line tool and Python library that converts Microsoft Excel XLSX files to comma-separated values (CSV) format. It parses the underlying XML structure of XLSX files using an Expat SAX parser, supporting both single-sheet and multi-sheet conversion with options to filter sheets by name or pattern, customize delimiters and line terminators, override date and float formatting, and preserve hyperlinks. You can use it as a standalone script from the command line, process entire directories of XLSX files in batch, or import it as a Python module within your own code. It requires no external dependencies beyond the Python standard library, making deployment straightforward across many Python versions. Use it for: - Batch convert a directory of XLSX files to CSV for data pipeline ingestion or legacy system compatibility. - Extract specific sheets from multi-sheet workbooks while filtering by name patterns to automate report generation. - Programmatically convert XLSX data to CSV within Python scripts for ETL workflows or data cleaning tasks. - Customize CSV output encoding, delimiters, and date formats to match downstream system requirements. - Convert XLSX files from STDIN or write CSV output to STDOUT for integration into shell pipelines. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts XLSX spreadsheet files to CSV format, handling large files efficiently through command-line or Python API. Yes. xlsx2csv is a stable, dependency-free tool with active maintenance, no known vulnerabilities, and permissive licensing. Install it if you need reliable XLSX-to-CSV conversion in batch workflows or Python code. The low install friction and broad Python version support make it a practical choice for straightforward conversion tasks. ## Install pip install xlsx2csv uv add xlsx2csv poetry add xlsx2csv ## Installing xlsx2csv Before you install: Low friction install with no runtime dependencies. Actively maintained; last commit 2026-07-21 with 1774 repository stars. License in practice: MIT license (permissive) places no restrictions on use, modification, or distribution. Quickstart: pip install xlsx2csv from xlsx2csv import Xlsx2csv with Xlsx2csv("myfile.xlsx", outputencoding="utf-8") as xlsx2csv: xlsx2csv.convert("myfile.csv") Verify before relying: - Whether streaming XML parsing actually prevents loading entire files into memory for very large XLSX files. ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: active - Downloads: 1.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags xlsx to csv converter, excel to csv conversion, batch convert spreadsheets, export xlsx as csv, large xlsx file conversion, spreadsheet-conversion, cli-tool, data-pipeline [View on SkillFed](https://skillfed.io/packages/xlsx2csv) · [View on PyPI](https://pypi.org/project/xlsx2csv/)