How to change the favicon in React
In this tutorial, we are going to learn about how to change the default favicon in react app, which is set by the create-react-app CLI.
Changing the favicon
-
Open the react app in your favorite code editor.
-
Navigate to the public folder and delete the
favicon.icofile. -
Now, add a new favicon inside the
publicfolder.

Note: The favicon filename should be
favicon.ico, like in the above screenshot.
- Reload your app to see the new favicon.


