Free, legal (for the scan, not the underlying text in some jurisdictions), includes full apparatus. Cons: Not searchable (unless OCR-processed), page-by-page PDF rather than flowing text, bulky file size.
Biblia Hebraica Stuttgartensia | BHS (with Critical Apparatus)
A critical apparatus is a system of notes located at the bottom of the page. It functions like a detective’s notebook, recording variations found in other ancient manuscripts.