The present invention provides small molecule inhibitors of hepatitis B virus (HBV) covalently closed circular (ccc) DNA, which are useful as therapeutics in the management of chronic HBV. The compounds of the invention achieve epigenetic modification of the cccDNA, histone modification and histone deacetylase activity inhibition, thus modulating HBV cccDNA. The present invention further provides methods for modulating HBV cccDNA, for treating or preventing HBV in a subject, and for modulating cccDNA transcription of hepatitis B in a subject.