The invention relates to compounds that are inhibitors of Flavivirus NS2B-NS3 proteases and inhibit replication of flavivirus in cells. Compounds of this invention are useful alone or in combination with other agents for use in the treatment of infections caused by Flaviviruses, in particular by Dengue, West Nile, Zika, Japan Encephalitis viruses.