MNIST digit classifier

Draw a handwritten digit to classify it live, or train a CNN, MLP, ViT, or XGBoost model to compare accuracy.

Draw a digit

Sketch a digit from 0 to 9 to classify it live.

Draw a digit (0–9)Classifies automatically
Prediction
—Waiting for input
28×28 preview
28²
Class probabilities0–9
Status
Draw a digit from 0 to 9 to see class probabilities.
Press Esc to clear. Switching models re-classifies automatically.

Train a model

Configure an architecture and train on MNIST in about 10 seconds.

0.001
0.00010.1

Takes about 10 seconds. The new model is selected automatically.

Models