The 18-tonne animal came ashore entangled in fishing ropes last week at Nobbys Beach in holiday hotspot Port Macquarie on the New South Wales coast, 400 kilometres (240 miles) north of Sydney.
Activists sound alarm over Russia's whale trade
Authorities tried to drag the 12-metre (40-foot) whale back to sea but gave up when it became caught on rocks.
With only a pedestrian pathway leading to the beach and no road access, the local council winched down a small digger to bury the dead creature.
But concerns that oil and decaying blubber were seeping into the ocean soon sparked a community backlash, with a spate of shark sightings close to shore ahead of school holidays, when beaches in the area are usually packed.
Under mounting pressure, the state government stepped in with enough cash to fund the removal of the decomposing animal.
A large crane was set up on the cliff edge Monday and mechanical excavators lowered to the sand, where they set about digging up the carcass and ripping it apart to be taken to a landfill site.
"We are using an excavator with big teeth on its bucket to actually cut the whale in pieces. It's quite a job," Port Macquarie council's environment director Matt Rogers told reporters.
"There are overseas experiences where whales have been taken off beaches... but nothing like we're seeing here with skip bins being winched up an escarpment, a crane reaching out 60 metres."
Surf school owner Wayne Hudson said locals were delighted the council had acted.
Thousands dish out cash to see whale shark before it goes to Sri Lanka
"The community got behind the idea of pulling out the whale carcass for a varied number of reasons and we went to the council and respectfully asked for it to be removed," he told broadcaster ABC.
"Council listened and jumped on... everyone I've been speaking to in the community's just so stoked about it."
Each year humpback whales migrate north from the Antarctic to the warmer climate of Australia's north coast to mate and give birth.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ