Diagnosing low-grade and high-grade endometrial stromal sarcoma (LG-ESS and HG-ESS) is a challenge. This study aimed to identify biomarkers. 22 ESS cases were analyzed using Illumina microarrays. Differentially expressed genes (DEGs) were identified via Limma. DEGs were analyzed with String and Cytoscape. Core genes were enriched with GO and KEGG, their pan-cancer implications and immune aspects were studied. 413 DEGs were found by exome sequencing, 2174 by GSE85383 microarray. 36 common genes were identified by Venn analysis, and 10 core genes including RBFOX1, PCDH7, FAT1 were selected. Core gene GO enrichment included cell adhesion, T cell proliferation, and KEGG focused on related pathways. Expression was evaluated across 34 cancers, identifying immune DEGs IGF1 and AVPR1A. Identifying the DEGs not only helps improve our understanding of LG-ESS, HG-ESS but also promises to be potential biomarkers for differential diagnosis between LG-ESS and HG-ESS and new therapeutic targets.