CSVtoTable
Simple command-line utility to convert CSV files to searchable and sortable HTML table. Supports large datasets and horizontal scrolling for large number of columns.
DISCLAIMER: This is NOT an official version, nor am I affiliated with the original creator Vivek R @vividvilla https://github.com/vividvilla (Upstream Author) This version is mostly for me, if you wanna use it too go ahead but I give no promises of function. If you notice any errors or issues please tell me!
Demo
Here is a demo of sample csv file converted to HTML table.
(You can use https://NanashiTheNameless.github.io/csvtotable/sample/index.html to see all the example HTML pages.)
Installation
Get the Latest
pipx install --force 'CSVtoTableNameless @ git+https://github.com/NanashiTheNameless/csvtotable@master'
Or get from PyPi (not recommended, may be out of date)
Get started
csvtotable --help
Convert data.csv file to data.html file
csvtotable data.csv data.html
Open output file in a web browser instead of writing to a file
csvtotable data.csv --serve
Options
csvtotable [OPTIONS] input_file [output_file]
CSVtoTable: Convert CSV files into searchable, sortable HTML tables.
Options:
-h, --help show this help message and exit
--version Show detailed version and metadata about the tool (alias for 'python3 -m pip show CSVtoTableNameless').
input_file Path to the input CSV file.
output_file Path to the output HTML file (optional if --serve is used).
-c CAPTION, -t CAPTION, --caption CAPTION, --title CAPTION
Table caption and HTML title.
-d DELIMITER, --delimiter DELIMITER
CSV delimiter (default: ',').
-q QUOTECHAR, --quotechar QUOTECHAR
String used to quote fields containing special characters (default: '"').
-dl DISPLAY_LENGTH, --display-length DISPLAY_LENGTH
Number of rows to show by default. Defaults to -1 (show all rows).
-o, --overwrite Overwrite the output file if it exists.
-s, --serve Open output HTML in a browser instead of writing to a file.
-H HEIGHT, --height HEIGHT
Table height in px or as a percentage (e.g., 50%).
-p, --pagination Enable table pagination (enabled by default unless virtual scroll is active).
-vs VIRTUAL_SCROLL, --virtual-scroll VIRTUAL_SCROLL
Enable virtual scroll for tables with more than the specified number of rows. Set to -1 to disable and 0 to always enable.
-nh, --no-header Disable displaying the first row as headers.
-e, --disable-export Disable export options for the table.
-eo {copy,csv,json,print} [{copy,csv,json,print} ...], --export-options {copy,csv,json,print} [{copy,csv,json,print} ...]
Specify export options (default: all). For multiple options, use: -eo json csv.
-ps, --preserve-sort Preserve the default sorting order.
--debug Enable debug mode to show full tracebacks and advanced info with --help.
Credits
External HTML Libraries used
External Python Libraries used
Other Misc Used Stuffs
Metadata
Release files for CSVtoTableNameless 3.1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| csvtotablenameless-3.1.0.0.tar.gz | 10.9 kB | With provenance | Details for csvtotablenameless-3.1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| csvtotablenameless-3.1.0.0-py3-none-any.whl | Python 3 | none | any | Details for csvtotablenameless-3.1.0.0-py3-none-any.whl |
Total release size: 23.2 kB
Release files / csvtotablenameless-3.1.0.0.tar.gz
| Download URL | csvtotablenameless-3.1.0.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eba1a732f1061de32c4193aa37c8a24b24615784bb7e92e0861b263973c8e59a
|
|
BLAKE2b-256 checksum How to use checksums |
7ffe5fe06d167d02643ff7df579a0806c5daa60cdcc84696f54592db9cbb005d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logRelease files / csvtotablenameless-3.1.0.0-py3-none-any.whl
| Download URL | csvtotablenameless-3.1.0.0-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
455e138cee09e860877bacb5d270bdc9309178e274f02261a14c105b0ac1af6c
|
|
BLAKE2b-256 checksum How to use checksums |
37e43b6ae9f0a9e2cf2621f2bde33a9b13a64c0e5de0501370fbdc3518f684cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logSecurity for CSVtoTableNameless 3.1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for csvtotablenameless-3.1.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 24, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.