Home > How to Tips

Create/Make a .plist File on Mac [Step-by-Step Guide]

Updated on Tuesday, December 3, 2024

Written by

Sherry Song

Approved by

Jessica Shee

English Français Deutsch やまと Español Português

Summary: PLIST files are an important and common part of macOS. But do you know how to create Plist files on Mac? Here iBoysoft provides the top 5 methods to help you and among them, iBoysoft MagicMenu seems to be the most convenient and quickest choice.

PLIST files, also called Property List files, are used to store serialized data such as settings, configurations, and information about the properties of a program. PLIST files can be written in both XML and binary formats, making them versatile and easy to work with different apps.

Whether you are a developer managing app configurations or a user customizing system settings, knowing how to create plist files is useful. In this guide, we'll explore several methods to create a PLIST file on Mac, keep reading.

An Overview of Ways to Create PLIST Files on Mac

MethodsDifficult levelOverall score
Use iBoysoft MagicMenuLow-Just use smart Finder context menu     
Utilize TextEditLow-Can only create new .plist files based on XML  
Opt for XcodeHigh-Difficult operating process   
Choose TerminalHigh-Need abundant command knowledge    
Apply AutomatorHigh-A Complex process   

Now let's move to the detailed steps one by one.

The easiest way to create a PLIST file on Mac

The built-in tools we will talk about later are a little cumbersome or complicated to operate because of the repeated steps and unknown command lines. So is there any alternative? Absolutely yes, iBoysoft MagicMenu is a smart right-click tool to free away these troubles.

iBoysoft MagicMenu is a user-friendly utility that enhances the Finder context menu, allowing you to create new various types of files, including PLIST, XML, PPT, TXT, and DOCX...with a few clicks. Moreover, it owns other useful functions like unwanted app removal, copying and cutting files, and compressing files for different quality levels...

Have a download and learn how to create a plist file on Mac:

  1. Free download, install, and open iBoysoft MagicMenu.
  2. Right-click on the desktop or any open folder and choose New File.
  3. Select Plist and the file is created already.

How quickly iBoysoft MagicMenu creates new files! Why don't you download it now and share it with more friends?

 

How to create a plist file on Mac?

If you are not afraid of the trouble steps and willing to take on a harder approach to create PLIST files on Mac, let's try the fixes below:

Create a plist file on Mac via TextEdit

TextEdit, the default text editor on macOS, can be used to create plist files based on XML. You can follow:

  1. Finder > Applications > Scroll down to find TextEdit and open it. (Or Launchpad > Others > TextEdit.)
  2. Click New Document, then choose Format > Make Plain Text from the top menu.
    (Or after clicking New Document, just press Command + Shift + T.)
  3. Enter your PLIST data in XML format.
  4. Choose File > Save, then enter a name for your file.
    (You can type .plist extension followed by the name.)
  5. Select Unicode (UTF-8) in the Plain Text Encoding and click Save.

If you fail to create a plist on Mac with it, try another built-in tool.

Create a plist file on Mac via Xcode

Xcode is Apple's integrated development environment (IDE) for macOS and iOS development. It provides a graphical interface for editing and creating PLIST files, making it a preferred choice for developers. Let's make a plist file on Mac:

  1. Finder > Applications > Xcode.
  2. In the top menu, choose File > New > File...or use the shortcut Command + N.
  3. In the file template window, select Property List under the macOS or iOS section and click Next.
  4. Name your PLIST file and choose a location to save it, then click Create.
  5. Edit the plist file.
    (You can switch to the raw XML editor if needed by right-clicking the PLIST file and selecting Open As > Source Code.)
  6. File > Save.
    (Or using the shortcut Command + S.)

Create a plist file on Mac via Terminal

For users comfortable with command-line interfaces, Terminal provides a way to edit and create PLIST files on Mac using commands. This method is particularly useful for scripting and automation, but note the incorrect operations in Terminal may cause bad consequences, so be careful to use it:

  1. Finder > Applications > Utilities > Terminal. (Or Launchpad > Others > Terminal.)
  2. Type touch ~/Desktop/example.plist to create a blank PLIST file.
    (You can replace the file path ~/Desktop with others, the example.plist is the file's name.)
  3. Open and edit the file, you can type nano ~/Desktop/example.plist.
  4. Enter your PLIST content then save the editor.
    (Note Control + 0 to write out and Control + X to exit in nano.)

You can also verify the PLIST directly in Terminal with the command plutil -lint ~/Desktop/example.plist.

Create a plist file on Mac via Automator

Using Automator, you can set up a workflow to automate the creation and customization of PLIST files. However, the process is so flexible that, you can follow these steps to create a PLIST file on Mac using Automator:

  1. Finder > Applications > Utilities > Automator. (Or Launchpad > Others > Automator.)
  2. Select New Document > Workflow > Choose.
  3. In the left panel, select Run AppleScript.
  4. Drag Run AppleScript from the list to the workflow.
  5. Replace the default script with an Apple Script that creates a PLIST file. 
  6. File > Save, name, and choose a saving location.
  7. Click Run and follow the prompts.

If you create a plist file on Mac with these methods, please let others know~

 

Final words

Creating a PLIST file on a Mac can be as simple or as detailed as you need it to be, depending on your preference and requirements. Whatever you opt for, just be careful to use them, and iBoysoft MagicMenu is the easiest choice, let it give you a shot.

Hope that you can efficiently manage and customize PLIST files, enhancing your macOS or iOS development experience in the later days.