Free & open-source
KherveFitting — an open-source XPS fitting software, written in Python and designed to be elegant and simple to use.
KherveFitting is a software written in Python and designed for fitting X-ray photoelectron spectroscopy (XPS) data. It provides a user-friendly graphical interface for researchers in materials science and surface analysis, offering multiple background subtraction methods, various peak fitting models, and automated multipeak fitting with customisable constraints — a freely available alternative to established commercial XPS packages. The code is on GitHub .














Why KherveFitting
Fully open source
Released under the BSD-3 License — broad use, modification, and distribution are permitted. Every algorithm is auditable; the code is your code.
Built in Python
A transparent stack of well-known scientific libraries — no closed black box. Source on GitHub.
Elegant and simple to use
Drag-and-drop file loading, mouse-driven backgrounds and peak placement, and keyboard shortcuts for everything that matters.
Excel-native data model
Files are stored as Excel workbooks (.xlsx) with embedded JSON metadata, so spectra, fits, and notes travel together — no proprietary container required.
Reads every common XPS format
VAMAS (.vms), Thermo Avantage (.xlsx, .avg, .vgd), Kratos (.kal), PHI/ULVAC-Phi (.spe), Scienta, Igor Pro, VG Microtech, Casa, CSV/ASC — all open natively.
Multi-sample, multi-core-level
Designed for users analysing many samples across many core levels — automated batch fitting, depth profiling, and advanced statistical analysis including PCA.
All the file formats you need
Files are kept in Excel — readable, portable, scriptable. Non-native files are converted automatically on drop.
.xlsx
KherveFitting native (Excel + JSON)
.vms
VAMAS standard
.kal
Kratos
.spe
PHI / ULVAC-Phi
.avg
Thermo Avantage
.vgd
Thermo VGD
Scienta
Scienta files & maps
Igor Pro
.dat / .itx
Casa
Casa info parsing
VG
VG Microtech variants
.csv / .asc
Surface Science Spectra & generic
XAS
Diamond B07 beamline
Built-in tools
Everything ships with the app — no separate install, no plug-in registry. From the element database that powers identification, through to valence-band measurement and Thickogram analysis.

KherveDB
Periodic-table viewer with NIST / XPS binding-energy references for every element from H to U, Auger lines, and the sensitivity-factor libraries used for quantification.
Learn more

Peak Fitting Library
Save peak tables (positions, constraints, doublet ratios, line shapes, backgrounds) as portable JSON. Load them across samples or pull from the GitHub community cloud library.
Learn more

Manual identification
Click directly on the spectrum to assign elements and chemical states from the periodic table view, with binding-energy hints from KherveDB.
Learn more

Automatic identification (AutoID)
Run AutoID on a survey scan: peak-prominence detection cross-referenced against KherveDB, including KLL / LMM / MNN Auger lines, with a user-set tolerance window.
Learn more

Thickness profile
Profile Creator and Editor for ion-sputter depth-profile series — derive layer thicknesses, follow chemistry as a function of etch time, and export the resulting depth profile.
Learn more

Valence band measurement
Dedicated VB workflow including valence-band maximum (VBM) extraction, Fermi-edge fitting, and D-parameter analysis for amorphous-carbon characterisation.
Learn more

Thickogram
Built-in Thickogram tool for thin-film thickness estimation from substrate / overlayer photoelectron intensity ratios, with TPP-2M / Cumpson IMFP libraries.
Learn more

PCA
Principal Component Analysis on multi-sample datasets — scree plots, score maps, and loading spectra to identify chemical trends and outliers across your sample set.
Learn more

D-parameter
Automated D-parameter extraction from carbon KLL Auger spectra for sp²/sp³ hybridisation analysis — first-derivative calculation with adjustable smoothing.
Learn more

Sample Manager
Organise and browse all loaded samples, core levels, and regions in a tree view. Rename, group, reorder, and batch-select spectra for fitting or export.
Learn more

Label Manager
Create, edit, and bulk-apply peak labels across multiple spectra. Consistent annotation for publication-ready figures with customisable font, colour, and position.
Learn more
Export to Excel
Every result — peak positions, areas, atomic percentages, FWHM, constraints, and fit statistics — exports to a single, well-structured Excel workbook. One click gives you a ready-to-use spreadsheet for reporting, further analysis, or supplementary data in your publication.
- · Quantification tables with RSF and transmission corrections
- · Peak parameters for every fitted component
- · Depth-profile and batch-fit results across all samples


From raw spectrum to atomic %
Drop a VAMAS or KAL file onto the canvas, place two background lines, load a saved peak table, and fit. KherveFitting handles the constraints — including Köster-Kronig handling for Ti2p / V2p — while you stay in control of the chemistry.
Walk through the 13-step quick startWhat users are saying
Reviews from the SourceForge project page — all 5 stars to date.
“The best XPS fitting software available — exceptional library. Dr. Gwilherm Kerhervé is a genius. Highly recommended for serious XPS analysis.”
“Wonderful free program to fit XPS data. A huge contribution to the XPS community worldwide.”
“An absolute gem! Intuitive, powerful — I recommend using it.”
“Beginner-friendly, intuitive, full of useful features. Good instrument compatibility, including macOS support.”
“Mac compatibility is fantastic — I wish I'd found this earlier.”
“Amazing software for XPS and Raman fitting. Easy input and output, suitable for beginners.”
“Fantastic software! It works for XPS and Raman. Easy to use!”
Learn KherveFitting
Step-by-step video tutorials on the KherveFitting YouTube channel, plus the user manual and a 13-step quick start.
XPS courses (KherveFitting)
5-video playlist. End-to-end XPS analysis worked in KherveFitting — backgrounds, peak fitting, BE correction, quantification, and exporting results.
KherveFitting Features
12-video playlist. Short demonstrations of individual features — Sample Manager, AutoID, depth profiling, PCA, batching, and the Peak Library.
Quick start
Walk from raw VAMAS file to atomic % in 13 steps, with screenshots and the saved peak table that ships with the app.
User manual
Full reference: peak models, backgrounds, RSF tables, BE correction, sample manager, depth profiling, batching, and PCA.
New to KherveFitting? Download the latest release and follow the quick start.
Other XPS resources
KherveFitting is part of a wider XPS community. These are the references and reading we recommend alongside it.
XPS Simplified
Thermo Fisher Scientific's introduction to XPS — element-by-element periodic table, line-shape and chemical-state references.
Harwell XPS — The Guru
Harwell XPS Guru, the EPSRC National Research Facility blog and tutorials by Dave Morgan and Mark Isaacs — practical advice on backgrounds, fitting, and avoiding common pitfalls.
xpsfitting.com
Mark Biesinger's reference site (Surface Science Western) — chemical-state fits for transition metals, oxides, and many other systems, with peak parameters you can re-use in KherveFitting.
Cited in the literature
KherveFitting has been used in peer-reviewed work across catalysis, photovoltaics, corrosion, biomaterials and 2D materials. The list below combines a curated reference set with new entries pulled live from OpenAlex at build time.
Reference paper
KherveFitting: An open source software for fitting X-ray photoelectron spectroscopy data
G. Kerhervé, W. S. J. Skinner, J. A. Hochhaus et al.
Surface and Interface Analysis, Wiley (2026)
Cited by 10 on Google Scholar
- Cold Plasma-Assisted Oxidation of Copper Powder: Synthesis and Characterization
S. Singh, V. Desai, T. Parekh, N. I. Jamnapara
Surfaces and Interfaces, 109367 (2026)
- Vacuum Treatment and Interface Engineering Enhance the Efficiency and Stability of Tin Halide Perovskite Solar Cells
T. Liu, R. Nishikubo, A. Wakamiya, A. Saeki
ACS Applied Energy Materials 9, 2229 (2026)
- Boosting Hydrogen Evolution Kinetics with MoS₂-Decorated TiO₂ Nanotubes
L. J. L. Maciel, D. V. Freitas, F. L. N. Sousa et al.
ACS Omega 11, 20079 (2026)
- A Printed Zinc-Ion Microbattery with Extended Shelf Life and Durability for Energy Autonomous Sensors
N. Goli, S. Tagliaferri, L. Zhang et al.
Advanced Functional Materials, e31995 (2026)
- Dielectric screening-controlled defect association and charge transport in Ce₁₋ₓErₓO₂₋δ (x = 0.1–0.2)
S. Ramesh, G. Upender
Journal of Physics and Chemistry of Solids 216, 113769 (2026)
- Sustainable, Safe, and Effective (Super)Hydrophobic Coatings for Cellulosic Fiber Material via Alkyl Ketene Dimer and Polysaccharide Integration
P. Jerič, B. Golja, G. Lavrič et al.
ACS Sustainable Chemistry & Engineering 14, 4329 (2026)
- Unlocking high ethanol sensitivity in ZnO thin films via thickness modulation using low-cost fabrication
D. K. Chaudhary, T. R. Acharya, P. Lamichhane et al.
Radiation Physics and Chemistry 244, 113783 (2026)
- Defect-Ordered γ-Fe₂O₃–Pt Interfaces Governing Amine Adsorption and Charge Transfer: Insights from Rietveld, XPS, and DFT Studies
S. Mallik, D. Niyogi, S. Pal, S. Das, D. Saha
SSRN preprint (2026)
- Moringa oleifera Extract as a Green Corrosion Inhibitor for API 5L in Seawater Medium: Electrochemistry and Surface Study
A. Royani
Journal of Bio- and Tribo-Corrosion 12, 83 (2026)
- Syringic-Based Copolyesters for Oxygen-Rich Low-Temperature Hot-Melt Adhesives: Synthesis, Adhesion Properties, and Enzymatic Depolymerization
T. T. Nguyen, C. Huertas-Díaz, J. A. Linares-Pastén et al.
ACS Applied Polymer Materials 8, 5517 (2026)
- Understanding Photovoltage Deficits in Electrochemically Grown Tin Sulfide (SnS) Thin-Film Photovoltaic Devices
Z. Najaf, J. Paranhos Lopes, N. Gaillard et al.
ACS Applied Energy Materials 9, 3432 (2026)
- Speciation of Mn in electric arc furnace clinker
J. Feng, S. Joseph, M. Yang et al.
Cement and Concrete Research 203, 108162 (2026)
- Fast Synthesis of Nanosized CuGaO₂ Particles as a p-Type Semiconductor for Photocathodes: Preliminary Investigation in DSSCs
Q. Stembauer, N. Penin, M. R. Suchomel et al.
ACS Applied Materials & Interfaces (2026)
- The effect of carbon support on rhenium-catalyzed glyceric acid deoxydehydration into biobased acrylic acid
M. Gabrič, B. Hočevar, A. Blažič et al.
Carbon 249, 121244 (2026)
- Electrochemical characteristics of anodized equiatomic AlTiNiFeCr high entropy alloy in simulated acid rain solution
D. P. Malau, A. D. H. Setyawan, D. Ferdian et al.
Materials Chemistry and Physics 349, 131827 (2026)
- Surface-immobilized fibronectin conformation influences synovial fluid adsorption and film formation
S. T. Ahmed, D. R. J. Pinto, L. Vitkova et al.
Colloids and Surfaces B 258, 115224 (2026)
- The promotional effect of gallium loading on the bifunctional Cu–Ga/γ-Al₂O₃ catalyst for CO₂ hydrogenation
S. Osmanaga, Y. Kaya, I. Onal, B. Ipek
Reaction Chemistry & Engineering, Advance Article (2026)
- New insights into the hydrogen evolution reaction kinetics using advanced electrochemical techniques
Y. Bao, Z. Ouyang, G. Kerhervé, D. J. Payne et al.
Electrochimica Acta 553, 148253 (2026)
- Reactive Extrusion of Sorghum Flour with Ozone Modifies the Texture, Thermal Behavior, and Digestibility of Starch and Proteins
P. Palavecino, E. Carrillo Parra, M. Rodriguez et al.
Foods 15, 375 (2026)
- Entropy Stabilized Rare Earth High Entropy Oxide for Dielectric Capacitors
C. V. K. Reddy, N. Chanakya, G. Upender, S. Ramesh
Ceramics International 52, 1106 (2026)
- Titanium carbide MXene-supported gold nanoparticles and exfoliated graphite nanoplatelets: A multifunctional platform for electrochemical sensing
N. Nardi, L. G. Baumgarten, G. S. Schmitz, J. P. Dreyer et al.
FlatChem 55, 100997 (2026)
- Engineered nanostructured electrodes for next-generation electronic devices
C. Zalani et al.
Journal of Materials Chemistry C, Advance Article (2026)
- Surface Buckling-Enabled Fabrication of Metallic Nanomeshes for Lightweight EMI Shielding
S. Thakur, A. Chakraborty, N. Ray
ACS Omega 11, 14037 (2026)
- Precursor-controlled copper oxide speciation and H2S adsorption performance in 3D-printed activated carbon microstructures
Ethan Grigor, Semali Perera, Joseph Carver et al.
Chemical Engineering Journal Advances 27, 101390 (2026)
- Comparative Study of Carbon Steel and Stainless Steel Media on Fracture and Morphological Characteristics of Glass during Binary Grinding
Chiharu Tokoro, Yuki Murata, Shozo Tanaka et al.
MATERIALS TRANSACTIONS 67, 1429 (2026)
- gkerherve/KherveDB: KherveDB 4.0
gkerherve
Zenodo (CERN European Organization for Nuclear Research) (2026)
- gkerherve/KherveDB: KherveDB 4.0
gkerherve
Open MIND (2026)
- A Comparative Study of Synthesis Routes for Nitrogen-Doped Graphene Quantum Dots in Fluorescence Quenching-Based Nitrite Detection
David Ibarra, César Fernández‐Sánchez, Martí Gich et al.
ACS Omega 11, 39700 (2026)
- Risk factors associated with microvascular complications among type 2 diabetic patients at tertiary center in Malaysia
Salwa Abougalambou, Ayman S. Abougalambou, Sara Youssif Ibrahim
International Journal of Clinical Medical Research 4, 148 (2026)
- Copper nanoparticle exsolution from Sr(Ti, Fe)O3 perovskites : material tuning and probing (electro)catalytic applicability
Ubong Essien, Swathi Patchaiammal Raju, Keyla Santos et al.
Strathprints: The University of Strathclyde institutional repository (University of Strathclyde) (2026)
- Reactive Extrusion of Sorghum Flour with Ozone Modifies the Texture, Thermal Behavior, and Digestibility of Starch and Proteins
Pablo Martín Palavecino, Esteban Carrillo Parra, Marianela Desireé Rodríguez et al.
Foods 15, 375 (2026)
- The effect of carbon support on rhenium-catalyzed glyceric acid deoxydehydration into biobased acrylic acid
Maja Gabrič, Brigita Hočevar, Anej Blažič et al.
Carbon 249, 121244 (2026)
- Porous NiCo <sub>2</sub> O <sub>4</sub> nanorods as efficient catalysts for UV-assisted reduction of <i>p</i> -nitrophenol
Nanditha T K, Mahi Varza Nataraajan, Shreepooja Bhat et al.
Materials Advances 7, 6723 (2026)
- Speciation of Mn in electric arc furnace clinker
Jianhang Feng, Shiju Joseph, Mingrui Yang et al.
Warwick Research Archive Portal (University of Warwick) (2026)
- Temperature-controlled anti-solvent engineering enables the fabrication of reproducible and stable tin-based perovskite solar cells by decoupling the kinetic fragility
Tingting Liu, Ryosuke Nishikubo, Chien-Yu Chen et al.
Journal of Materials Chemistry A 14, 27683 (2026)
- Friction and Wear Behavior of Laser-Induced Graphene Structures on Polyimide Films
M. Gleirscher, S. Zeiler, P. Parlanti et al.
Small Science 5, e202500335 (2025)
- Photosynthetic Biomimetic System: Nickel Phthalocyanine and Biomass-Derived Carbon Quantum Dots for Enhanced Water Oxidation
G. C. da Fonseca, F. F. de Albuquerque et al.
ChemCatChem 17, e01691 (2025)
- Off-axis RF-sputtered barium titanate thin films for next-generation electro-optic devices
Md. S. I. Sumon, K. Lazareno, D. A. Carpenter et al.
Journal of Physics: Materials 8, 045011 (2025)
- Bimetallic melamine doped ZnCo-ZIF-8 derived carbons as bifunctional ORR/OER electrocatalysts
L. Kong, V. Degirmenci
Materials Advances 6, 7779 (2025)
- Biotemplated Photocatalytic Micromotors for Effective Inhibition of Bacterial Growth
C. Cuntín-Abal, M. Chávez, B. Jurado-Sánchez et al.
Chemistry of Materials 37, 6512 (2025)
- Plant-Based Iron Nanomaterials Derived from Ilex paraguariensis for Heavy Metal Remediation
V. Aude Luppi, H. Peng, M. Peralta, M. M. Fidalgo
ACS ES&T Water 5, 7514 (2025)
- Copper nanoparticle exsolution from Sr(Ti, Fe)O₃ perovskites: material tuning and probing (electro)catalytic applicability
U. A. Essien, S. P. Raju, K. T. Santos et al.
Nanoscale Advances (2025)
- XPS Insight Note: Carbon Sp²–Sp³ Ratios Derived From the Carbon Auger Signal and Its Accuracy
A. Graf, M. A. Isaacs, D. J. Morgan
Surface and Interface Analysis 58, 96 (2025)
- Integrated Experimental and Theoretical Insights into Defect-Induced Functionalities of Cobalt Doped NiO
S. M. Ansari, H. Alashkhari, M. Alabdouli et al.
Advanced Energy & Sustainability Research, e202500391 (2025)
- Copper nanoparticle exsolution from Sr(Ti, Fe)O <sub>3</sub> perovskites: material tuning and probing (electro)catalytic applicability
Ubong Akpan Essien, Swathi Patchaiammal Raju, Keyla Teixeira Santos et al.
Nanoscale Advances 8, 1916 (2025)
- XPS Insight Note: Carbon Sp <sup>2</sup> –Sp <sup>3</sup> Ratios Derived From the Carbon Auger Signal and Its Accuracy
Alexander Graf, Mark A. Isaacs, David Morgan
Surface and Interface Analysis 58, 96 (2025)
- Photosynthetic Biomimetic System: Nickel Phthalocyanine and Biomass‐Derived Carbon Quantum Dots for Enhanced Water Oxidation
Gabriel Cabral da Fonseca, Fhysmélia Firmino de Albuquerque, Rafael N. P. Colombo et al.
ChemCatChem 17 (2025)
Author
Developed by Dr. Gwilherm Kerhervé.