Charities are becoming a lot more generous with pay at the top.

The tax-exempt organizations, which include many hospitals and colleges as well as traditional charities such as the United Way, provided seven-figure compensation to roughly 2,700 employees in 2014, an analysis of newly available data shows.

The total is higher by a third than...