ASD2CSV_APP is a cross-platform desktop application for converting ASD spectrometer .asd files to .csv format and merging multiple CSV files into a single file using a clean, browser-based graphical interface.
- Convert one or more
.asdfiles to.csv - Merge multiple
.csvfiles into one combined.csvfile - Automatic
output/folder creation - Clean and minimal graphical interface
- macOS and Windows installers (via GitHub Releases)
- Download
ASD2CSV.dmgfrom the Releases page - Open it
- Drag ASD2CSV into Applications
- Launch the app — your browser should open automatically
- Download
ASD2CSV_Setup.exefrom the Releases page - Run the installer
- Launch ASD2CSV from the Start Menu
This mode is for users who want to run the application directly from the source code (no .dmg / .exe).
git clone https://github.com/vah-khosravi/ASD2CSV_APP.git
cd ASD2CSV_APPpython3 -m venv .venv
source .venv/bin/activatepy -m venv .venv
.\.venv\Scripts\Activate.ps1py -m venv .venv
.venv\Scripts\activatepip install -r requirements.txtpython asd2csv_app.py # Windows (CMD)python3 asd2csv_app.py #macOS / LinuxOpens in your browser:
http://127.0.0.1:5000
- In the app, click Convert ASD file(s) to CSV
- Select one or more
.asdfiles - Converted
.csvfiles will be saved in theoutput/folder in the user's documents folder. Theoutput/folder path can be found below the application tab.
- Click Merge CSV Files
- Select two or more
.csvfiles - A merged file named
merged_spectra.csvwill be created in theoutput/folder in the user's documents folder. Theoutput/folder path can be found below the application tab.
If you prefer working in the terminal instead of the browser-based app, you can use the provided CLI tools for single-file conversion, batch processing, and CSV merging.
This will convert one .asd file within the Data/ folder into .csv and save it into the output/ folder.
macOS / Linux / Git Bash
python3 cli_convert.py Data/Spectrum00001.asd outputWindows PowerShell / CMD
python cli_convert.py Data\Spectrum00001.asd outputThis will convert all .asd files within the Data/ folder into .csv files and save them into the output/ folder.
macOS / Linux / Git Bash
python3 cli_convert.py Data outputWindows PowerShell / CMD
python cli_convert.py Data outputThis will merge all .csv files within the output/ folder into a single file named merged_spectra.csv and save it in the same output/ folder.
macOS / Linux / Git Bash
python3 cli_merge.py output output/merged_spectra.csvWindows PowerShell / CMD
python cli_merge.py output output\merged_spectra.csvASD2CSV_APP/
├── asd2csv_app.py
├── asd_reader.py
├── csv_merger.py
├── cli_convert.py
├── cli_merge.py
├── requirements.txt
├── templates/
│ └── index.html
├── static/
│ ├── app.js
│ └── style.css
├── assets/
│ ├── icon.png
│ ├── icon.icns
│ └── icon.ico
├── LICENSE
└── README.md
This project is licensed under the Apache License 2.0.
See the full license text in the LICENSE file.
If you use ASD2CSV in academic work, publications, or research, please cite it as follows:
Khosravi, V. (2026). ASD2CSV: A cross-platform tool for converting ASD spectrometer files to CSV format. GitHub. https://github.com/vah-khosravi/ASD2CSV_APP
@software{Khosravi_ASD2CSV_2026,
author = {Khosravi, Vahid},
title = {ASD2CSV: A cross-platform tool for converting ASD spectrometer files to CSV format},
year = {2026},
url = {https://github.com/vah-khosravi/ASD2CSV_APP},
note = {Version 1.0.0}
}ASD file parsing and conversion logic is based on publicly available ASD binary format specifications and adapted for this application.
Developed and maintained by Vahid Khosravi.