Rapid evolution of SARS-CoV-2 and influenza A virus (IAV) poses enormous challenge in the development of broad-spectrum antivirals, effective against the existing and emerging viral strains. Virus entry through endocytosis represents an attractive target for drug development, as inhibition of this early infection step should block downstream infection processes and potentially inhibit viruses sharing the same entry route. Through high-content screening, we have identified diphenylurea derivatives (DPUDs) as a new class of endocytosis inhibitors, which broadly restricted entry and replication of several SARS-CoV-2 and IAV strains in tissue culture cells, without affecting cell viability. We found, DPUDs transported chloride ions into the cell, and interfered with the endocytic machinery by perturbing intracellular chloride homeostasis. Finally, we tested DPUDs in mice challenged with SARS-CoV-2 and IAV. Treatment with DPUDs led to remarkable body weight recovery, improved survival, and significant reduction in lung viral load, indicating their potential as broad-acting antivirals.