Diagnosis of HCC typically involves a combination of imaging tests, blood tests, and sometimes a liver biopsy. Imaging techniques such as ultrasound, CT scans, and MRI can help visualize liver abnormalities. Blood tests, including the measurement of alpha-fetoprotein (AFP) levels, can provide additional diagnostic information. A liver biopsy, where a small sample of liver tissue is examined under a microscope, may be performed to confirm the diagnosis.