How to remove .html extension for exported code

I believe what you are looking for is under the ‘Create a robots.txt file’ section here Exporting your Webflow website: The ultimate checklist | Webflow Blog.