SEC makes all EDGAR filings publicly available. We can download all 10-Ks, 10-Qs, 8-Ks filed since 1993. However, SEC makes this far away from just a few mouse clicks (in order to reduce the server load and avoid the possible abuse I guess). To download EDGAR filings, we have to download EDGAR index files first to get the full path of each 10-K, 10-Q, 8-K, etc. We cannot download any file without the full path information. See technical details here.
I downloaded all EDGAR index files and converted them into Stata datasets. You can download here: Stata format (1993–2000); Stata format (2001–2005); Stata format (2006–2010); Stata format (2011–2015); Stata format (2016–2019/03/16).
If you want to know how I do this, please read my another blog here.