How do I get an extension on a file of mine? .pdf, .jpeg

How do I go about adding an extension to a file of mine? Like .pdf, .jpeg, etc. Thanks.

MacBook Pro 13″, macOS 13.3

Posted on May 6, 2023 6:59 PM

Reply
Question marked as Top-ranking reply

Posted on May 6, 2023 7:11 PM

Show or hide filename extensions on Mac

A filename extension appears at the end of some filenames, and looks like a period followed by a few letters or words (for example, .jpg). A file’s filename extension shows what type of file it is and what apps can open it.

Filename extensions are usually hidden in macOS, but if you find them useful, you can show them. If extensions are hidden, macOS still opens files with the proper apps.


For one file

  1. On your Mac, select a file, then choose File > Get Info, or press Command-I.
  2. Click the arrow  next to Name & Extension to expand the section.
  3. To show or hide the filename extension, select or deselect “Hide extension.”

For all files

  1. In the Finder  on your Mac, choose Finder > Settings, then click Advanced.
  2. Select or deselect “Show all filename extensions.”

If you select “Show all filename extensions,” all extensions are shown, even for files that have “Hide extension” selected. If you deselect “Show all filename extensions,” then file extensions are shown or hidden based on their individual “Hide extension” settings.

When you rename a file or folder, don’t change its filename extension, or you may no longer be able to open the file with the app that was used to create it. To be warned before you change an extension, select “Show warning before changing an extension” in the Advanced pane of Finder settings.

If you want to change a file’s format, use the app you used to create the file. For example, TextEdit can convert a document from plain text format (.txt) to a rich text format (.rtf), and Preview can convert many types of graphics files.


https://www.techradar.com/how-to/computing/apple/how-to-show-or-hide-file-extensions-in-mac-os-x-1295830

11 replies
Question marked as Top-ranking reply

May 6, 2023 7:11 PM in response to timothyfromketchum

Show or hide filename extensions on Mac

A filename extension appears at the end of some filenames, and looks like a period followed by a few letters or words (for example, .jpg). A file’s filename extension shows what type of file it is and what apps can open it.

Filename extensions are usually hidden in macOS, but if you find them useful, you can show them. If extensions are hidden, macOS still opens files with the proper apps.


For one file

  1. On your Mac, select a file, then choose File > Get Info, or press Command-I.
  2. Click the arrow  next to Name & Extension to expand the section.
  3. To show or hide the filename extension, select or deselect “Hide extension.”

For all files

  1. In the Finder  on your Mac, choose Finder > Settings, then click Advanced.
  2. Select or deselect “Show all filename extensions.”

If you select “Show all filename extensions,” all extensions are shown, even for files that have “Hide extension” selected. If you deselect “Show all filename extensions,” then file extensions are shown or hidden based on their individual “Hide extension” settings.

When you rename a file or folder, don’t change its filename extension, or you may no longer be able to open the file with the app that was used to create it. To be warned before you change an extension, select “Show warning before changing an extension” in the Advanced pane of Finder settings.

If you want to change a file’s format, use the app you used to create the file. For example, TextEdit can convert a document from plain text format (.txt) to a rich text format (.rtf), and Preview can convert many types of graphics files.


https://www.techradar.com/how-to/computing/apple/how-to-show-or-hide-file-extensions-in-mac-os-x-1295830

May 6, 2023 7:26 PM in response to timothyfromketchum

timothyfromketchum Said:

"How do I get an extension on a file of mine? .pdf, .jpeg: How do I go about adding an extension to a file of mine? Like .pdf, .jpeg, etc. Thanks."

-------


Revealing the Extensions:


Do so Using Terminal:

  1. Open: Terminal
  2. Drag ad Drop: the window to the Desktop
  3. Type: ls
  4. Press: the return key


To get to Terminal go to: Applications > Utilities > Terminal

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.

How do I get an extension on a file of mine? .pdf, .jpeg

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