Powder X-ray diffraction (XRD) data format converter · Standalone offline edition · Core functionality re-implemented in JavaScript
Format specifications adapted from open-source projects: xylib (LGPL) · GSAS-II (BSD-3) · opXRD (CC BY 4.0)
.rasx / .ras / .asc), Bruker (.raw ver.1 / .uxd), Jade MDI ASCII (.mdi) and generic numeric text (.xy / .xye / .csv / .txt / .dat / .json).
Round-trip conversion has been verified against real Rigaku and Bruker instrument files; the .mdi writer follows the MDI Jade manual and passes a read-back test, but has been checked with a smaller sample set.
Readers/writers for other vendors (PANalytical .xrdml, Sietronics .cpi, Philips .udf, GSAS, Riet7 .dat) were written but are not shipped, because they could not be tested against real instrument files. Sample files from other vendors are very welcome — open an issue and they can be re-enabled.
start step speed anode λ end nPoints, then 8 intensities per line. .rasx (Rigaku SmartLab, ZIP container) input is supported: automatically detects UTF-16/UTF-8 encoded Profile data, correctly applies the attenuation factor (y = intensity × attenuation coefficient), and extracts the wavelength from the MesurementConditions XML into the output header. Data-quality checks follow the opXRD (arXiv:2503.05577v2) guidelines: warn on negative angles / fewer than 50 points, reject all-zero intensity / single unique angle.