The city wants to turn streetlights into high-speed public Wi-Fi hotspots as part of a plan to boost Internet access across all five boroughs, sources told The Post.

The concept is similar to LinkNYC — the free Wi-Fi and phone-charging kiosks that replaced phone booths around the city.

It’s unclear if service from the poles would be free. It’s also too early to say how much — if anything — the plan might cost taxpayers. The idea is still in the pre-planning stages and officials are trying to determine if the idea is feasible. But the service would be part of Mayor de Blasio’s push for every city resident and business to have “affordable, reliable, high-speed” Internet service by 2025.

If it moves forward, the plan would use one of city government’s most extensive — and untapped — resources.

“The humble light pole is actually one of the city’s most crucial pieces of public infrastructure,” city spokeswoman Kate Blumm said. “We’re continuing to explore how this basic street furniture will be part of our 21st-century city.”

The city has more than 250,000 streetlights across the five boroughs.

It has already allowed private companies to use or reserve about 6,400 poles for telecom equipment that enhances or creates new cellular and Web service.

Some light poles in parts of Manhattan and Brooklyn already have free city Wi-Fi. But the city said those are one-offs, independently developed on a small scale.

Streetlights could also be a big moneymaker for the city. Communications companies eagerly put up a few hundred bucks a month to use a single pole already.

But proposed federal regulation might hinder the city’s scheme. The Federal Communications Commission has proposed measures that would limit how much control the city has over the streetlights, including the price companies pay to use them.

Still, the city believes streetlight Wi-Fi could provide competition for traditional cable and internet providers like Spectrum and Optimum.

Ultramodern high-speed 5G service might also be offered from the poles, bypassing companies like AT&T and Verizon.

The city particularly hopes to compete with Verizon, said a well-placed source familiar with the project.

When de Blasio was public advocate in 2013, he accused Verizon of excluding low-income communities from its fiber-optic FiOS service.

Last year, the city sued Verizon for breaking its promise to offer FiOS to all households. Verizon maintained it met its contract with the city by passing fiber cables by every residence, but that it doesn’t have to connect them to each individual house and apartment. The litigation is ongoing.