Peptides that pass through the blood-brain barrier (BBB) not only are implicated in brain-related pathologies but also are promising therapeutic tools for treating brain diseases, e.g., as shuttles carrying active medicines across the BBB. Computational prediction of BBB-penetrating peptides (B3PPs) has emerged as an interesting approach because of its ability to screen large peptide libraries in a cost-effective manner. In this study, we present BrainPepPass, a machine learning (ML) framework that utilizes supervised manifold dimensionality reduction and extreme gradient boosting (XGB) algorithms to predict natural and chemically modified B3PPs. The results indicate that the proposed tool outperforms other classifiers, with average accuracies exceeding 94% and 98% in 10-fold cross-validation and leave-one-out cross-validation (LOOCV), respectively. In addition, accuracy values ranging from 45% to 97.05% were achieved in the independent tests. The BrainPepPass tool is available in a public repository for academic use (https://github.com/ewerton-cristhian/BrainPepPass).