The heads of Sydney's two leading universities have warned about growing "self-censorship" and attempts to shut down controversial speakers, but have maintained there is no freedom of speech crisis on Australian campuses.

They have also expressed reservations about implementing a "model code" on freedom of speech urged by the Morrison government and recommended by a recent review by former High Court chief justice Robert French.