Officials in Vietnam's traffic-choked capital Hanoi vowed on Tuesday to banish motorbikes by 2030 to ease environment and congestions woes, a decision that swiftly divided a city where two-wheelers are the main means of transportation.

Hanoi is famed for legions of motorbikes -- sometimes stacked with entire families or overloaded with deliveries -- that clog roads in a fast-growing city with limited public transportation.

There are five million motorbikes among a population of about seven million, compared to half a million cars on the road.

Yet critics have blamed the emissions-heavy motorbikes for Hanoi's deteriorating air quality and worsening traffic congestion.

The decision to ban motorbikes by 2030 was approved by 95 out of 96 city councillors at a meeting on Tuesday.

Officials said the number of vehicles was growing at an "alarming" rate, according to a report on the city government's website.

Read also: Five must-visit places in Vietnam

"Traffic jams and air pollution will become serious in the future if no immediate management measures are in place," the report said.

It added that authorities would increase public transport options to wean people off their scooters.

Opinions of the decision were sharply divided on social media.

"This is wonderful news, showing strong determination from authorities to deal with the city's uncontrolled and chaotic traffic," said motorbike rider Nguyen Nam.

Others were sceptical about whether the government will really offer viable public transport alternatives as promised.

Read also: 5 places in Asia for a quick romantic getaway

"This idea is totally insane," said office worker Hoang Thuy Duong, who rides a motorbike to work daily.

"Motorbikes are the best means of transportation in Hanoi. I doubt authorities can replace them with public vehicles," she told AFP.

Hanoi does not have a metro system, only public buses which account for 12 percent of travel demand in the city. Officials said Tuesday they plan to boost that share to around 50 percent by 2030.

Construction of a sky train in the city has been repeatedly delayed but is slated to open next year.

The number of registered motorbikes in Vietnam is among the highest in Southeast Asia, and officials in Hanoi have long-mulled banning the bikes in an effort to modernise the city along the lines of Seoul or Tokyo.

Experts have blamed Hanoi's poor air quality in part on harmful emissions from cars and motorbikes, especially in major cities.