To evaluate the potential of computational pathology methods for diagnosing pediatric brain tumors, we implemented a weakly supervised multiple-instance learning (MIL) method using brain tumor tissue slide images (WSI) from 540 pediatric patients (mean age 8.5 years) collected from a multicenter cohort at six university hospitals in Sweden. Three pretrained feature extractors, ResNet50, UNI, and CONCH, were used to extract patch-level features from the WSI, and ABMIL or CLAM were used to aggregate features for patient-level classification. Models were evaluated on three classification tasks—type, family, and type—based on a hierarchical classification of pediatric brain tumors. The models were trained on data from two centers and tested on data from the remaining four centers to assess their generalization performance. The highest classification performance was achieved using UNI features and ABMIL aggregation, with Matthew correlation coefficients of 0.76±0.04, 0.63±0.04, and 0.60±0.05 for type, family, and type classification, respectively. Models using UNI and CONCH features had better generalization performance than models using ResNet50.