Magnetic activity in the atmospheres of stars produces a number of spectroscopic signatures that are visible in the shape and strength of spectral lines. These signatures can be used to access, among other things, the variability of the magnetic activity, or its infuence on other parameters such as the measured radial velocity (RV). This latter is of utmost importance for the detection and characterization of planets orbiting other stars. ACTIN is a Python program to calculate stellar activity indices. The program reads input data either from .fits files returned by the pipelines of spectrographs, or from .rdb tables. It extracts automatically the spectral data required to calculate spectral activity indices. The output is an .rdb table, with the calculated stellar activity indices for each date (Julian Date), as well as the RV and Cross-Correlation Function profile parameters, if available. It also outputs timeseries plots of the activity indices and plots the spectral lines used to compute the indices.