The invention relates to a high-pressure and normal-pressure gas and vacuum all-in-one machine. The all-in-one machine comprises a box body, an air supply unit, a vacuum unit, a constant pressure unitand a control unit. The all-in-one machine is characterized in that the same device can provide high-pressure or normal-pressure gas such as air, nitrogen, oxygen, carbon dioxide and rare gas at thesame time and can also provide vacuum negative pressure, meanwhile, due to the fact that a drying filter, a dust filter, a chemical adsorption filter and other devices are additionally arranged in thedesign, ultra-clean air and various high-purity gases which do not contain dust particles and microorganisms can be produced, a buffer tank is used, so that an air compressor and a vacuum pump can work intermittently, and the problem that the service life of the compressor and a vacuum pump is too short due to long-term work in traditional design is avoided. Compared with a traditional air/nitrogen generator, the noise reduction and shock absorption design is correspondingly added in the device, and application in scientific analysis and medical clinic is better facilitated.