How to remove the last .html that appears on the site

When ever i make a page so it ends with .html and therefore when i open the page it also shows like
but i dont want to show that .html

I searched on google and they are saying you need to tweak into .htaccess but ig netlify doesnt have .htaccess file so how do i remove the .html now?

Hey @Samrridh

By default, if you have a page, it is automatically available via However, you can also enable “Pretty URLs” under Site Settings > Asset Optimization

Also check out

umm where is this asset optimization in site settings

It is under Build & deploy > Post processing