Elemental and isotopic analyses are performed using elemental analyzers, and are widely employed for diverse scientific fields. An elemental analyzer is typically equipped with an autosampler. Here we present an open-source autosampler for elemental and isotopic analysis of solid samples. The autosampler consists of 1) a sampling table, on which a carousel pushes samples inside an orifice, and 2) a purging pipe, placed directly beneath the orifice, where the sample is purged off surrounding air, and then delivered to the reaction tube. The action of the purging pipe ensured that air contamination, an issue for the analysis of some elements like nitrogen and oxygen, was negligible, and results for elemental and isotopic composition of nitrogen and carbon were inside specs. Full details: https://www.researchgate.ne