Background Sarcomas (SARC) have been found as rare and heterogeneous malignancies with poor prognosis. PTBP1, belonging to the hnRNPs family, plays an essential role in some biological functions (e.g., pre-mRNA splicing, cell growth, and nervous system development). However, the role of PTBP1 in SARC remains unclear. In this study, the aim was to investigate the potential role of PTBP1 with a focus on SARC. Methods The expression, prognostic value, possible biological pathways of PTBP1, and its relationship with immune infiltration and drug sensitivity were comprehensively analyzed based on multiple databases. PTBP1 was further validated in osteosarcoma as the most prominent bone SARC. The expression of PTBP1 was investigated through IHC. The prognostic value of PTBP1 was verified in TARGET-OS databases. CRISPR/Cas9-mediated PTBP1 knockout HOS human osteosarcoma cell lines were used to assess the effect of PTBP1 on cell proliferation, migration, metastasis and cell cycle by CCK-8, Transwell migration, invasion, and FACS experiment. Result PTBP1 was highly expressed and significantly correlated with poor prognosis in several cancers, especially in SARC, which was validated in the clinical cohort and osteosarcoma cell lines. The genetic alteration of PTBP1 was found most frequently in SARC. Besides, PTBP1 played a role in oncogenesis and immunity through cell cycle, TGFB, autophagy, and WNT pathways at a pan-cancer level. Knockout of PTBP1 was observed to negatively affect proliferation, migration, metastasis, and cell cycle of osteosarcoma in vitro. Furthermore, PTBP1 was significantly correlated with tumor immune infiltration, DNA methylation, TMB, and MSI in a wide variety of cancers. Moreover, the potential of the expression level of PTBP1 in predicting drug sensitivity was assessed. Conclusions PTBP1 is highly expressed and correlated with prognosis and plays a vital pathogenic role in oncogenesis and immune infiltration of various cancers, especially for SARC, which suggests that it may be a promising prognostic marker and therapeutic target in the future.