Medicinal and dietary plants provide numerous nutritional and functional compounds and also have various potential health benefits to humanity. The specific and efficient techniques for accurate identification of nutritional compounds and functional metabolites is crucial for the development of functional foods from medicinal and dietary plants. Nuclear magnetic resonance (NMR) and mass spectrometry (MS) are indispensable and essential technologies that provide an unsurpassed wealth of untargeted identification, quantitative and qualitative analysis, and structural information in the study of food and plant products. In the past decade, the rapid development of modern analytical technology has led to the emergence of new approaches and strategies for natural products discovery. Especially the application of novel NMR-and MS-based identification and dereplication strategies aided by artificial intelligence and machine learning algorithms have brought about a significant shift in the natural products discovery process. These developments and changes in the natural products filed have given us insights into how to accurately target and mining nutritional, functional, and bioactive compounds. Thus, we have summarized recent research on novel NMR and MS based strategies and methods focusing on functional compounds, accurate identification and efficient discovery mainly in medicinal and dietary plants. This review could provide a comprehensive perspective for a better understanding of novel strategies and methods based on NMR and MS technologies, which could provide valuable insights and ideas for functional compounds mining.