The importance of the "gut–liver axis" in the pathogenesis of liver diseases has been revealed recently; which promotes the process of developing preventive and therapeutic strategies. However, considering that there are still many challenges in the medical treatment of liver diseases, potential preventive dietary intervention may be a good alternative choice. Plant-based foods have received much attention due to their reported health-promoting effects in targeting multiple pathways involved in the pathogenesis of liver diseases as well as the relative safety for general use. Based on the PubMed and Web of Science databases, this review emphatically summarizes the plant-based foods and their chemical constituents with reported effects to impact the LPS/TLR4 signaling pathway of gut–liver axis of various liver diseases, reflecting their health benefits in preventing/alleviating liver diseases. Moreover, some plant-based foods with potential gut–liver effects are specifically analyzed from the reported studies and conclusions. This review intends to provide readers an overview of the current progress in the field of this research topic. We expect to see more hepatoprotective measures for alleviating the current prevalence of liver diseases.