Devanagari character and digit recognition is a difficult undertaking because writing style depends on a person's traits and differs from person to person. We get more precise results in digit recognition thanks to deep learning convolutional neural networks (CNN), which function similarly to the human brain. In this study, the CNN method was put into practise and contrasted with the feed-forward neural network and random forest approaches. In comparison to previous methods, CNN has reportedly provided an accuracy rating of up to 99.2%. CNN is effective with both organised and unstructured data, including pictures, video, and audio.