In point-scanning microscopy, optical sectioning is achieved using a small aperture placed in front of the detector, i.e. the detection pinhole, which rejects the out-of-focus background. The maximum level of optical sectioning is theoretically obtained for the minimum size of the pinhole aperture, but this is normally prevented by the dramatic reduction of the detected signal when the pinhole is closed, leading to a compromise between axial resolution and signal-to-noise ratio. We have recently demonstrated that, instead of closing the pinhole, one can reach a similar level of optical sectioning by tuning the pinhole size in a confocal microscope and by analyzing the resulting image series. The method, consisting in the application of the separation of photons by lifetime tuning (SPLIT) algorithm to series of images acquired with tunable pinhole size, is called SPLIT-pinhole (SPLIT-PIN). Here, we share and describe a SPLIT-PIN software for the processing of series of images acquired at tunable pinhole size, which generates images with reduced out-of-focus background. The software can be used on series of at least two images acquired on available commercial microscopes equipped with a tunable pinhole, including confocal and stimulated emission depletion (STED) microscopes. We demonstrate applicability on different types of imaging modalities: (1) confocal imaging of DNA in a non-adherent cell line; (2) removal of out-of-focus background in super-resolved STED microscopy; (3) imaging of live intestinal organoids stained with a membrane dye.