Change file extension within Files native App
There is a way to change the file extension. To do this, in the Files application settings, click "view options" and select "show all extension". After that, long tap on the file and select rename.
iPhone 13