Whoever leaked the classified transcripts of President Trump’s January calls with Mexico’s president and Australia’s prime minister harmed America, simply to make Trump look bad.

Even if the perp is caught, and proves to be an Obama holdover no longer on the job, no foreign leader can ever again be confident that what he tells a US president won’t be blared across the Internet for all to see.

After all, partisan fury won’t stop when Trump leaves office: It’s grown, whichever party holds the White House, for decades.

And in the modern age, some media outlet will surely be happy to publish any leak, a scoop to titillate the millions sure to despise whoever holds the Oval Office.

Alternately, the White House will have to greatly restrict who gets to see these transcripts — meaning the president’s own people will be denied info needed to do a good job.

Plus, the next president to replace one of the other party will likely feel compelled to do without any White House holdovers, adding to the chaos of a new administration.

This was no whistleblower: The leak didn’t expose presidential malfeasance, but only confirmed what the world already knew about the fuzzy way Trump talks.

The administration is talking tough, claiming it already has four leak prosecutions underway. Let’s hope it succeeds: These crimes don’t technically count as treason, but they’re certainly betrayals of the nation.