A versatile synthetic approach for development of highly fluorescent nitrogen-doped carbon dots (n-cDs) from carboxymethylcellulose in the presence of linear polyethyleneimine (Lpei) has been developed. According to single factor method, central composite design incorporated with response surface methodology matrix was applied to find and model optimal conditions for the temperature (220-260 °C), duration (1-3 h) and LPEI weight (0.5-1.5%). The statistical results show that duration was the most significant parameter for efficient carbonization conversion rate in comparison with temperature and Lpei weight. the reduced cubic model (R 2 = 0.9993) shows a good correlation between the experimental data and predicted values. the optimal variables were temperature of 260 °C, duration of 2 h and LPEI weight of 1%. Under these conditions, quantum yield of up to 44% was obtained. The numerically optimized N-CDs have an average size of 3.4 nm with graphitic nature owing to the abundant amino species incorporated into the carbon core framework. the blue-green n-cDs possess emission dependent upon the solvent polarity, wide pH stability with enhanced emission in an acidic environment. Impressively, the N-CDs show long-shelf-life for up to 1 year with no noticeable precipitation. the n-cDs were able to recognize a high concentration of fe 3+ ions with a detection limit of 0.14 μM in acidic solution owing to the special coordination for Fe 3+ to be captured by electron-donating oxygen/ amino groups around n-cDs. Moreover, the n-cDs can also be used as a new kind of fluorescent ink for imaging applications. Carbon dots (CDs) are the latest member of fluorescent carbon nano-sized family. Typically, CDs are nearly spherical-shaped nanoclusters with sizes of less than 10 nm and consist of amorphous or crystalline cores with sp 2 carbon atoms 1. Since the first established work 2 , CDs have attracted a considerable focusing in the fields of wastewater treatment, photocatalysis, bioimaging, cancer therapy and chemical sensing 3,4. This is owing to their feature of having outstanding optical properties, including excellent biocompatibility, tuneable photoluminescence, negligible toxicity, ease of production and resistance to photobleaching in comparison to QDs counterparts 5-7. It is well known that QDs, for instance, tend to be decayed in the biological environment leading to a serious toxicity concern 8 .