WASHINGTON — The controversial book “Clinton Cash” has been made into a documentary film that will debut before the Democratic convention.

The investigative book by conservative author Peter Schweizer alleges that Bill and Hillary Clinton created a personal cash cow for themselves by taking money from foreign interests in return for political favors.

Now Schweizer and Stephen K. Bannon, the executive chairman of the right-leaning Breitbart News, have channeled last year’s best seller into a film with director M.A. Taylor poised to damage Clinton just as she is expected to become the Democratic presidential nominee.

“It’s a story that resonated with people on the printed page,” ­Schweizer told Bloomberg News. “We felt we needed to look at other platforms, too.

“The key is to engage voters. If you look at what’s motivating [Donald] Trump and [Bernie] Sanders fans, it’s disgust with cronyism and corruption in Washington.”

The movie trailer includes footage of blood-soaked money and bombings, contrasted with the Clintons dancing and Bill defending his paid speeches with: “I gotta pay our bills.”

Hillary on Thursday took a break from the campaign trail following four big wins Tuesday that advanced her delegate advantage over Sanders to a nearly insurmountable gap: 2,165 to 1,357.

Sanders scaled back his paid staff but intends to campaign all the way to the convention to fight for his ideals, such as universal health care, free college tuition, campaign finance reform and breaking up Wall Street banks.

The Vermont senator said Thursday he also wants automatic voter registration and open primaries.