A fully open source software program for automated two-dimensional and one-dimensional data reduction and preliminary analysis of isotropic small-angle X-ray scattering (SAXS) data is presented. The program is freely distributed, following the open-source philosophy, and does not rely on any commercial software packages.BioXTAS RAWis a fully automated program that,viaan online feature, reads raw two-dimensional SAXS detector output files and processes and plots data as the data files are created during measurement sessions. The software handles all steps in the data reduction. This includes mask creation, radial averaging, error bar calculation, artifact removal, normalization andqcalibration. Further data reduction such as background subtraction and absolute intensity scaling is fast and easyviathe graphical user interface.BioXTAS RAWalso provides preliminary analysis of one-dimensional data in terms of the indirect Fourier transform using the objective Bayesian approach to obtain the pair-distance distribution function, PDDF, and is thereby a free and open-source alternative to existing PDDF estimation software. Apart from the TIFF input format, the program also accepts ASCII-format input files and is currently compatible with one-dimensional data files from SAXS beamlines at a number of synchrotron facilities.BioXTAS RAWis written in Python with C++ extensions.