The present invention provides sulfamoylbenzamide derivatives, and pharmaceutical compositions thereof. In certain embodiments, the compounds and pharmaceutical compositions of the invention inhibit pregenomic RNA encapsidation. In other embodiments, the compounds and pharmaceutical compositions of the invention are useful for treating Hepatitis B virus (HBV) infection.