Convert PANalytical .xrdml files to .xy (Beta)

Open XRDML files from Empyrean, Aeris and X'Pert diffractometers without HighScore and export .xy, CSV or Excel.

Opens: RAW (Bruker v1–v4), BRML, XRDML, RAS, RASX, RD/SD, UDF, UXD, GSA/FXYE, XY
Saves: .xy, .xye, CSV, XLSX, XRDML

Convert

Diffraction data files
Choose files… or drop them here
.raw, .brml, .xrdml, .ras, .rasx, .asc, .dat, .rd, .sd, .udf, .uxd, .gsa, .gsas, .gss, .fxye, .xra, .xy, .xye, .txt, .csv, .zip · up to 200 MB each, 200 files max
    Add more files

    Bruker .raw (versions 1–4) or .brml, PANalytical .xrdml, Rigaku .ras/.rasx/.asc, Philips .rd/.sd/.udf, Bruker .uxd, GSAS .gsa/.fxye or .xy/.xye text. Several files or a .zip can be combined into one table.

    Options

    Convert 2θ with the wavelength stored in the file (Kα1).

    Counts per second divide by the counting time per step stored in the file.

    More options

    Pick the comma version if your Excel uses a decimal comma (most of Europe).

    Your files are deleted after processing.

    Malvern Panalytical (formerly PANalytical) diffractometers such as the Empyrean, Aeris and X'Pert save their data as .xrdml. Many programs want a simple two-column .xy instead. This page converts XRDML to .xy, .xye, CSV or Excel without HighScore.

    How to convert XRDML to XY

    1. Upload the .xrdml file, or several at once. Files following the XRDML schema versions 1.0 to 2.3 are read.
    2. Keep the measured angle or switch the x axis to d-spacing, Q or Cu-equivalent 2θ; the intensity can stay in counts or become counts per second or percent of the strongest point.
    3. For a CSV with decimal commas, change CSV number format under More options.
    4. Download the .xy. It opens in Origin, Excel, Python and most other analysis programs.

    Why not just read the XML?

    XRDML is XML, so you could open it in a text editor. But the counts sit in one long line, the angles are usually given only as a start and end position, and some measurements store beam attenuation factors that must be multiplied in. Older files (schema 1.x) also use a different element for the intensities than newer ones. The converter handles all of this:

    • evenly spaced angles are rebuilt as start + i × (end − start)/(n − 1), matching HighScore's export to better than 10⁻⁹ degrees;
    • attenuation factors are applied;
    • the x axis follows the scan axis of the measurement, so ω, φ or χ scans get that angle instead of 2θ;
    • every scan in the file is converted: the first goes into the .xy, the rest into a ZIP with one file per scan.

    Checked against HighScore

    Counts were identical to HighScore's CSV and .xy exports of the same measurements, and the independent xrayutilities reader gave the same values.

    Other Panalytical and Philips formats

    The same upload accepts older Philips PC-APD .rd files, .udf text files and HighScore CSV exports. Note that the .rd format itself squeezes each count into 16 bits, losing up to about 0.5 % of the value; the file details point this out.

    Uncertainties for refinement

    Each line of the .xye carries, after angle and intensity, the point's standard uncertainty: the square root of the counts. That is the same convention HighScore uses in its CSV export, and GSAS-II, TOPAS and FullProf use it for weighting.

    For d-spacing or Q instead of 2θ, see 2θ to d-spacing. Bruker and Rigaku users: BRML to XY, Rigaku RAS to XY.

    More about what this tool reads and writes: XRD Pattern Converter (RAW, BRML, XRDML, RAS).