Changing .txt to other file formats

I am a coder, and I wanted to use TextEdit to edit my code, but every time I need to change the format (for example changing name.txt to newname.json, newname.py, etc.), it always adds a .txt at the end, which annoys me. I went into the preferences and help pages and cannot find a solution. How do I change the file format?

MacBook Pro

Posted on Mar 28, 2021 6:40 PM

Reply
8 replies

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Changing .txt to other file formats

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.