Renishaw's WiRE software saves Raman measurements as .wdf files, from a single spectrum up to
a map with tens of thousands of spectra. Without WiRE you can't open them. This page reads the
.wdf directly and writes the spectra as CSV, together with the stage positions, so you can
continue in Python, R, MATLAB, Origin or Excel.
How to convert WDF to CSV
- Upload the
.wdffile (up to 512 MB each), or several files at once. - For maps and long series, choose the layout under More options, or leave it on automatic: one spectrum per row above 100 spectra, one column per spectrum below that.
- Download the CSV. The x axis is
Raman shift (cm-1).
What each measurement type gives
| WiRE measurement | CSV |
|---|---|
| Single spectrum or extended scan | Raman shift and intensity columns |
| Depth or time series | one column per spectrum, named by position and time, e.g. Z=-9.5 um, Time=1.047062s |
| Map (row layout) | one row per spectrum: its name, then the X, Y (and Z) stage positions, then one column per Raman shift value |
The row layout suits chemometrics and mapping scripts: each row is a sample, the position columns tell you where it was measured, and the remaining columns form the data matrix. To rebuild a map image, pivot on the X and Y columns.
Metadata
The preview and the Excel workbook's metadata sheet list what WiRE stored about the measurement: title, WiRE version, measurement and scan type, laser wavelength, start time, number of spectra, points per spectrum, accumulations and spectral range. Check the laser wavelength there before converting Raman shift to absolute wavelength elsewhere; the converter itself doesn't turn a Raman shift axis into wavelength.
Accuracy
Files from WiRE 4.1 to 4.4 were compared with an independent open-source WDF reader (all spectra identical) and with WiRE's own text exports, which match to their six decimals.
Large maps
- The CSV is written in chunks, so maps with many thousands of spectra convert in full.
- The preview charts up to ten spectra plus the mean of all of them.
- JCAMP-DX output is skipped above 2,000 spectra, and the Excel workbook above six million cells; the result says when that happens, and the CSV always has everything.
Several .wdf files can be combined into one table. For the other formats this converter
reads, see the Spectrum File Converter.
More about what this tool reads and writes: Spectrum File Converter (OPUS, OMNIC, SPC, WDF, SP, JWS).