spill the beans

Intermediate (B1) informal

To tell someone something that was supposed to be a secret.

"Someone spilled the beans about the surprise party."