The potential of web-based interventions in dietary behaviour modification of the diabetics has not been fully explored. We describe the protocol of a 12-month match-design randomised controlled trial of a web-based dietary intervention for type 2 diabetic patients with primary aim to evaluate the effect of the intervention on their dietary knowledge, attitude and behaviour (KAB). The secondary objective of this study is to improve the participants' dietary practices, physical measurements and biomarkers.A minimum total sample of 82 Type 2 diabetics will be randomised, either to the control group, who will receive the standard diabetes care or the e-intervention group, who will participate in a 6-month web-based dietary intervention in addition to the standard care. The dietary recommendations are based on existing guidelines, but personalised according to the patients' Stages of Change (SOC). The participants will be followed up for 6 months post-intervention with data collection scheduled at baseline, 6-month and 12-month.We are aiming for a net improvement in the KAB score in participants of the e-intervention group, besides investigating the impact of the e-intervention on the dietary practices, physical measurements and blood biomarkers of those patients. The successful outcome of this study can be a precursor for policy makers to initiate more rigorous promotion of such web-based programmes in the country.Clinicaltrials.gov NCT01246687.