XRD Toolkit

Offline, single-file XRD analysis tools · zero dependencies · data never leaves your browser

Powder X-ray diffraction utilities for materials research — format conversion, crystallite size, and PtCo L1₀ ordering degree.

✓ 3 tools✓ Single-file HTML✓ Zero dependencies✓ MIT License

Tools

🔁
XRD-FileConventor
PUBLIC
Convert between powder XRD data formats — .xy .xye .csv .txt .dat .asc .ras .json and generic two-column text — entirely in the browser.
▶ Live demoRepository
📏
XRD-Scherrer
PUBLIC
Coherently diffracting domain size from XRD peak broadening (Scherrer equation) — single & multi-peak modes, isotropic Williamson–Hall, instrumental-profile correction, and a PtCo empirical (220) integral mode.
▶ Live demoRepository
🔷
XRD-PtCoOrdering
PUBLIC
Empirical relative ordering index and optional calibrated long-range S for PtCo L1₀ alloys — side-window baseline + single-Gaussian fit for (110)/(111), SNIP + double-Gaussian deconvolution for the overlapping (200)/(002).
▶ Live demoRepository
All three repositories are public. Analysis demos run locally in your browser; the example patterns are synthetic. Analysis tools: v1.1.0. Electrochemistry workbench →

Why a toolkit

License

All tools are released under the MIT License © 2026 PENG (Andy Peng). Full license and copyright audit documents ship with each repository.