Well-heeled residents in an upscale San Francisco neighborhood have launched a crowdfunding drive to keep a new homeless shelter out of their back yard.

The GoFundMe campaign — called “Safe Embarcadero for All” — was launched earlier this month after Mayor London Breed proposed a 200-bed shelter along the coast of San Francisco Bay, according to Fox News.

“The planned location for Mayor Breed’s #megashelter is home to thousands of families, visited by millions of tourists and at the center of some of San Francisco’s most iconic events – including the San Francisco Marathon, San Francisco Giants stadium and on one of the busiest bicyclist paths in the city,” reads the posting by the opponents.

The drive has raised more than $60,000, more than half its stated $100,000 goal, which will be used to pay attorney Andrew Zacks to represent the “Not in my back yard” residents.

One of the contributors, who remained anonymous, chipped in $10,000 to the effort.

Several contributors — including banking bigwigs, professors and authors — also have donated money to Democratic political groups, including thousands of dollars to the Democratic National Committee, according to a Fox News review of records.

A rival campaign in support of the project attracted a $5,000 donation from GoFundMe itself — with the effort so far garnering almost $33,000 in donations, surpassing its goal of $30,000.

The mayor slammed the opponents.

“People want us to address the challenges on our streets and help our unsheltered residents into housing, and I am committed to doing the hard work to make that happen,” Breed said, the San Francisco Chronicle reported.

“But it’s incredibly frustrating and disappointing,” she added, “that as soon as we put forward a solution to build a new shelter, people begin to threaten legal action.”