
To share your newly created game online, you can use Unity to build a WebGL version of your game to post on the Web. This will allow you to share your creation with a much larger audience and get more eyes on your game.
How to Make a WebGL Build
To make a WebGL build, go to File > Build Settings and then choose the WebGL platform. If your project uses Linear Color Space, you will have to change it to use Gamma in the project settings. If you are using Filebase, remember to exclude the Filebase.dll file from your build.

Click the Build button and save the project in a “Builds” folder for organizational purposes and accessibility.
Web Hosting
Most commonly, people will make an account on itch.io and upload their projects there to share them. Simmer.io is another option to host your game. Make an account, drag your project folder to the indicated position, write a brief description of your game, and you’re done.

Afterward, you can share a link to your game with anyone!