There are several ways to create a favicon. The format of these icons should be .ico, at least if we want them to work in all browsers (the most recent ones support .png or .jpg formats). This can be done using image editing programs such as GIMP (completely free and open source software), which allows you to adjust the image to the desired format and size.