Free Online XRD Analysis Tool
Plot X-ray diffraction patterns, detect peaks, calculate d-spacing and crystallite size (Scherrer), compare samples and check common phases — free, in your browser, no sign-up.
Drop your XRD file here
.xy, .csv, .txt, .dat, .ras or .uxd with 2θ and intensity columns. Nothing is uploaded — it all runs in your browser.
Need Rietveld refinement, quantitative phase analysis or help with HighScore Plus, JADE or Match!? Ask our XRD team →
How to analyse XRD data online
Upload an XRD pattern, detect peaks, read d-spacings and crystallite sizes, check phases and export the figure.
- 1
Load your data
Drag in an .xy, .csv, .txt, .dat, .ras or .uxd file with 2θ and intensity columns, paste two columns from Excel, or load the example pattern.
- 2
Pick the X-ray source
Choose the anode (Cu Kα1 by default) so d-spacings, crystallite sizes and reference peak positions are calculated for your wavelength.
- 3
Review detected peaks
Open the Peaks panel to see each peak's 2θ, d-spacing, relative intensity, FWHM and Scherrer size. Adjust the minimum peak height and smoothing if needed.
- 4
Check phases
Overlay suggested phases or any reference mineral to compare its peak positions with your pattern.
- 5
Export
Download the figure as PNG or SVG and the peak table as CSV.
d-spacing and crystallite size calculators
Quick Bragg's law and Scherrer equation calculators for a single peak — handy for checking a value from a paper or a lab report.
Bragg's law: 2θ ↔ d-spacing
nλ = 2d sin θ (first order, n = 1)
Scherrer crystallite size
D = Kλ / (β cos θ), β in radians
Measure instrument broadening with a standard such as LaB₆ or Si. Scherrer sizes are a lower bound and lose accuracy above ~100 nm.
What you can do with it
Open real instrument files
Text exports from Bruker, PANalytical / Malvern, Rigaku and others: .xy, .csv, .txt, .dat, .ras, .uxd — with headers, metadata blocks and European decimal commas handled automatically.
Automatic peak detection
Background-corrected peak finding with adjustable sensitivity and smoothing. Every peak gets 2θ, d-spacing, relative intensity, FWHM and crystallite size.
Phase suggestions
Peak positions are compared with a built-in reference set of common minerals and materials, ranked by match. Overlay any reference to check it against your pattern.
Any X-ray source
Cu, Co, Fe, Cr, Mo or Ag. d-spacings, Scherrer sizes and reference peak positions are recalculated for the wavelength you choose.
Compare samples
Load several patterns, stack them as a waterfall, normalise each to 100 and keep the same reference markers across all of them.
Publication-ready figures
Interactive zoom and hover readout on screen; export the current view as a high-resolution PNG (up to 4×) or an editable SVG.
How to read an XRD pattern
A powder X-ray diffraction pattern plots diffracted intensity against the angle 2θ. Each peak comes from a family of lattice planes that satisfies Bragg's law, nλ = 2d sin θ, so four features of a pattern tell you different things about the sample:
- Peak position (2θ → d-spacing) identifies the crystalline phases. Every phase has its own set of d-spacings, which is why the peak table lists d alongside 2θ — d does not depend on the X-ray source.
- Relative intensity reflects the crystal structure, the amount of each phase and preferred orientation. A peak much stronger than its reference value often points to oriented crystals.
- Peak width (FWHM) grows as crystallites get smaller or strain increases. The Scherrer equation, D = Kλ / (β cos θ), turns width into an average crystallite size.
- Background shape — a broad hump (typically 15–35° 2θ with Cu) indicates amorphous material such as glass or polymer.
For phase identification, match the strongest three to five peaks first, then check that the weaker reference peaks are also present. Shifts of a few tenths of a degree usually come from sample height displacement, solid solution or strain rather than a different phase.
XRD analysis video tutorial
A walkthrough of X-ray diffraction basics and pattern interpretation — from Bragg's law to identifying phases from peak positions.
Who uses XRD analysis
Geology & mineralogy
Identify minerals in rocks, soils, sediments and ores.
- Rock and soil composition
- Clay mineral identification
- Ore characterisation
Materials science
Check phase purity and crystallite size of synthesised materials.
- Nanoparticle size (Scherrer)
- Thin films and coatings
- Phase transitions
Pharmaceuticals
Distinguish crystalline forms of active ingredients.
- Polymorph screening
- Crystallinity checks
- Stability studies
Ceramics & cement
Follow phase changes during firing and hydration.
- Sintering studies
- Glass-ceramics
- Cement phases
Frequently asked questions
Which XRD file formats can I upload?
+
Any text export with a 2θ column and an intensity column: .xy, .csv, .txt, .dat, .asc, Rigaku .ras and Bruker .uxd. Headers, metadata lines and comma, tab, semicolon or space delimiters are detected automatically. Binary formats such as .raw or .brml must be exported to text from the instrument software first.
How does the tool calculate d-spacing?
+
It uses Bragg's law, d = λ / (2 sin θ), with the wavelength of the X-ray source you select (Cu Kα1 = 1.5406 Å by default). Hover anywhere on the plot to read the d-spacing at that angle, or see the d value of every detected peak in the peak table.
How is crystallite size calculated?
+
With the Scherrer equation, D = Kλ / (β cos θ), where β is the peak's full width at half maximum in radians and K defaults to 0.9. The peak table does not subtract instrument broadening; use the Scherrer calculator on this page to correct for it.
Can the tool identify the phases in my sample?
+
It suggests likely phases by comparing your peak positions with a built-in reference set of common minerals and materials (quartz, calcite, clays, feldspars, iron oxides, TiO₂, ZnO, NaCl, Si, Au, Ag and more). Treat the suggestions as a starting point and confirm them against ICDD PDF or COD reference patterns.
Can I compare several XRD patterns?
+
Yes. Upload several files at once, or a table with one intensity column per sample, then stack them as a waterfall plot and normalise each pattern to 100 for easier comparison.
Is my data uploaded to a server?
+
No. Files are read and analysed entirely in your browser, and nothing is sent to our servers.
Is the XRD tool free?
+
Yes, it is free with no sign-up. If you need help with Rietveld refinement, quantitative phase analysis or software such as HighScore Plus, JADE or Match!, our team can assist.
Need expert XRD analysis?
Our team works with HighScore Plus, JADE, Match!, PDXL, DIFFRAC.SUITE EVA and SmartLab Studio and can help with:
- Phase identification against PDF-4+ / ICDD
- Rietveld refinement
- Quantitative phase analysis
- Crystallite size & strain (Williamson–Hall)
- Interpreting results for a report or thesis
- One-to-one training