Facebook and Google will be forced to pay media companies in Australia for news content they use as the COVID-19 crisis causes a collapse in advertising revenue.

Federal Treasurer Josh Frydenberg has asked the antitrust regulator to develop a mandatory code of conduct to force the digital media giants to share advertising revenue and correct what the regulator says is an imbalance in bargaining power.