Fityk is nonlinear curve-fitting and data analysis software. It allows data visualization, separation of overlapping peaks, and least squares fitting using standard Levenberg-Marquardt algorithm, a genetic algorithm, or Nelder-Mead simplex method. It knows about many functions (mostly bell-shaped, like Gaussian, Loretzian, Pearson 7, Voigt, Pseudo-Voigt, and Doniach-Sunjic) and user-defined functions can be easily added. It also enables background subtracting, data calibration, and task automation with a simple script language. It is mainly used to analyze powder diffraction patterns, chromatography, photoluminescence, infrared, and Raman spectroscopy, but it can be used to fit analytical functions to any kind of data.