To provide an image classification device or the like capable of properly identifying classified images.
A CPU determines time intervals as a classification standard on the basis of the time of photography attached to each image, and classifies the images according to the time intervals determined. On the basis of the classification result, all the images of the same class are stored in a folder. The CPU reads the images in the folder and tries to extract keywords by analyzing the images, etc. The CPU stores the extracted keywords in sequence as candidates for the name of the folder, and counts the frequency of each of the keywords stored. The CPU then specifies the keyword that appears most frequently, and sets the specified keyword as the name of the folder.