A new bench-stable reagent with double diazonium sites was designed and synthesized for protein crosslinking. Based on the highly efficient diazonium-Tyr coupling reaction, a direct mixture of the reagent and tobacco mosaic virus led to the formation of a new hydrogel, which could be degraded by chemicals and could be used to encapsulate small molecules for sustained release. Because plant viruses exhibit many chemical characteristics like protein labelling and nucleic acid packaging, the virus-based hydrogel will have large chemical space for further functionalization. Besides, this dual-diazonium reagent should be a generally useful crosslinker for chemical biology and biomaterials.