Labor has secured the Greens' support for laws requiring social media companies to do more to protect Australians online.
The deal gives people the right to take tech giants to court over harm they suffer, and it significantly increases the maximum fines companies could face.
The digital duty of care legislation is due to pass the Senate with the Greens' support.
Australians will be able to directly sue social media giants for harm under changes to the federal government's proposed new digital safety laws.
Labor reached a deal with the Greens on Tuesday to pass its digital duty of care legislation through the Senate after agreeing to a series of amendments to increase penalties and give people greater power to hold tech giants to account.
The government agreed to give Australians a "private right of action" that would allow them to sue social media companies for harm suffered online.
Australia's current online safety laws largely rely on the eSafety commissioner to hold tech companies to account, leaving individuals seeking compensation to navigate complex and largely untested avenues under existing negligence and consumer protection laws.
In the United States, where courts have greater scope to award damages designed to punish companies as well as compensate victims, thousands of lawsuits have been brought against social media giants.