Lawyers appeared in Manhattan court Wednesday to argue that thousands of pages related to convicted pedophile Jeffrey Epstein — which could contain names of “hundreds” of people — should be made public.

The arguments came as part of Epstein “sex slave” Virginia Roberts Giuffre’s since-settled defamation lawsuit against his longtime gal pal Ghislaine Maxwell.

Thousands of court documents in that case were unsealed last month — but Giuffre’s lawyer and others are seeking to have thousands of others made public.

“At this point, there’s no agreement” over which documents should be made public, said Giuffre’s lawyer Sigrid McCawley. “Our proposal is to redact only Social Security numbers, the names of minor victims and any confidential medical information.”

While the sealed documents contain nearly 30 never-before-seen depositions, it was also revealed that Epstein’s “little black book” is part of the trove.

The address book, first published by Gawker and excerpted by New York Magazine earlier this year, lists entries for Prince Andrew, Bill Clinton, Donald Trump, Naomi Campbell and other high-powered people.

Maxwell’s attorney Jeffrey Pagliuca, meanwhile, is fighting against the potentially bombshell disclosure.

“In some of these documents, there are literally a thousand people” who have not been publicly identified before, Pagliuca argued in Manhattan federal court.

Neither Giuffre nor Maxwell appeared at the hearing.

Judge Loretta Preska ordered the lawyers to figure out how to categorize the secret documents. She has not yet set a date for another hearing.

Andrew Celli, who represents Alan Dershowitz, the famed lawyer who has been accused of sleeping with Roberts, argued for the process to move expeditiously.

“Mr. Dershowitz thinks there should be a maximum disclosure with maximum speed,” said Celli.

But Preska shot back, “I don’t care.”

Giuffre, now 35, has claimed she was recruited by Maxwell as a teen to be Epstein’s “sex slave.” She sued Maxwell, a British socialite, in 2015 after Maxwell called her a liar over her allegations.

The case was settled out of court for an undisclosed amount in 2017 — on the eve of the trial — and the case file was sealed.

Epstein, 66, hanged himself just a day after the last trove of documents from the case was made public, revealing a tidal wave of sordid allegations against the financier and other high-powered men.

Dozens of women have accused Epstein of sexually abusing them as youngsters.

Five lawsuits have been filed against his estate in the wake of his death.

Epstein was arrested in July and charged with conspiracy and sex trafficking of children. While he was the only defendant named in the indictment, the feds say their investigation continues.