Ex-NBA star Dennis Rodman said Wednesday he wanted to “straighten things out” between his BFF Kim Jong Un and President Trump as the two leaders face off over the rogue regime’s nuke program.

Rodman, aka The Worm, told the British TV show “Good Morning Britain” that he had skied and sung karaoke with the pint-size despot, and was just the guy to bring peace to the tense Korean peninsula.

“For me to go over there and see [Kim] as much as I have, I basically hang out with him all the time. We laugh, we sing karaoke, we do a lot of cool things together. We ride horses, we hang out, we go skiing, we hardly ever talk politics and that’s the good thing,” said Rodman, who at 6-foot-7 is a full foot taller than the Korean dictator.

“I just want to try to straighten things out for everyone to get along together.”

The former baller — known for his relentless rebounding and multi-hued Afros — also praised Trump, even though the president could be “a little bit crazy sometimes.”

Rodman has visited with Kim several times, even as North Korea has carried out a series of nuclear and missile tests and Trump has responded with warnings of a “massive” military response.

The president also threatened “fire and fury and frankly power the likes of which this world has never seen before” — a statement many took to mean a nuclear strike.

Rodman — whose gal pals have included Madonna, porn star Jenna Jameson and actress Carmen Electra — last visited North Korea in June and his earlier trips stoked talk that he could somehow help the US cut a deal with the North, although his comments on Kim have also drawn ridicule.

“He loves power. He loves control … and stuff like that, but he’s just a great guy. He’s just a great guy,” he said after a 2013 visit with the murderous nutjob — who has had members of his own family executed.

Rodman said he was not trying to defend Kim and was “just an ambassador for sports.”

With Post wires