CurseForge: https://www.curseforge.com/minecraft/mc-mods/experience-remover/
SmushyTaco/Experience-Remover
This mod removes experience and makes enchantment tables and anvils purely cosmetic. The mod can be enabled and disabled in the config.
JavaLGPL-3.0