Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here


AppleScript to programatically create Apple IDs

Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402Star full 4f7b624809470f25b6493d5a7b30d9b9cb905931146e785d67c86ef0c205a402 (1 ratings)
Rated 5.0 out of 5
Subscribe to updates I use Apple-ID-AppleScript

Statistics on Apple-ID-AppleScript

Number of watchers on Github 154
Number of open issues 12
Average time to close an issue about 1 month
Main language AppleScript
Average time to merge a PR 17 days
Open pull requests 6+
Closed pull requests 0+
Last commit over 5 years ago
Repo Created almost 8 years ago
Repo Last Updated about 2 years ago
Size 350 KB
Organization / Authoraaronfreimark
Page Updated
Do you use Apple-ID-AppleScript? Leave a review!
View open issues (12)
View Apple-ID-AppleScript activity
View on github
Fresh, new opensource launches πŸš€πŸš€πŸš€
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating Apple-ID-AppleScript for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)
What people are saying about Apple-ID-AppleScript Leave a review

Batch Apple ID Creator

Stories in Backlog Stories in Ready Stories in Progress

If possible, please donate as I spend my free time fixing and upkeeping this script.

BTC: 12afnPSYfnbzV8wgu6zv69j9eMTtV2GktC

Purpose & Features

Deploying a great quantity of iOS devices means creating a great quantity of Apple IDs. This script allows automated Apple ID creation from a spreadsheet. Apple IDs are created without a credit card, which is great for many deployments. There is a dry run feature to test the script without actually creating the Apple ID.


  • IMPORTANT: Apple uses a velocity check to prevent too many Apple IDs from a single IP address. You must contact your Apple business representative to request that your IP address is whitelisted for a short time.
  • Being AppleScript, this runs only on Macs.
  • iTunes 11.2.2 is currently required. Future versions may break the script.
  • UI Scripting allows us to script otherwise non-scriptbale interfaces. Turn this on in System Preferences > Accessibility and check Enable access for assistive devices.
  • Apple has strong password requirements. Account creation will fail if the passwords are too weak.


A template CSV file is included. Create csv file. Then run the script.

CSV file tips

  • keep the column headers,
  • fill out all columns,
  • use comma as a column separator,
  • don't leave empty lines,
  • use MS Excel or Numbers to create file,
  • don't include the - in front of the security questions,
  • leave last column blank,
  • for the state just use the two letter initial, ie NY not NY - New York as its listed in iTunes,
  • for the month in birth date use month names with capital first letter, ie January for january,

Security Questions

As of iTunes 10.6.1 Apple has required three security questions. The Batch Apple ID Creator allows you to choose the questions from the list below. Each question should be copied into the appropriate spreadsheet column (Security Question 1, 2 or 3) exactly as typed below.

Security Question 1

  • What is the first name of your best friend in high school?
  • What was the name of your first pet?
  • What was the first thing you learned to cook?
  • What was the first film you saw in the theater?
  • Where did you go the first time you flew on a plane?
  • What is the last name of your favorite elementary school teacher?

Security Question 2

  • What is your dream job?
  • What is your favorite children's book?
  • What was the model of your first car?
  • What was your childhood nickname?
  • Who was your favorite film star or character in school?
  • Who was your favorite singer or band in high school?

Security Question 3

  • In what city did your parents meet?
  • What was the first name of your first boss?
  • What is the name of the street where you grew up?
  • What is the name of the first beach you visited?
  • What was the first album that you purchased?
  • What is the name of your favorite sports team?

Known Bugs

Errors are not handled gracefully. Although some errors are recoverable, if the script stops, it loses track of its progress. Edit the spreadsheet to continue.

At the end of this script, Apple will send a verification email to the Apple ID. To complete verification, click the link in the message, then re-enter the account address and password.


The files are downloadable from GitHub: Feel free to fork and improve.


This script was originally created by Enterprise iOS user Greg Moore, who works for Hope Public Schools in Hope, Arkansas. Aaron Freimark then updated the script to work with iTunes 10.6.1 and the multiple recovery questions. Discuss on This script or derivatives must not be sold. If you make it better, please give back to the community that brought it to you.

The base for this script was created by Aaron Freimark

Updated version brought to you by Brandon Usher

Apple-ID-AppleScript open issues Ask a question     (View All Issues)
  • almost 5 years Unable to run in iTunes 12.1 on OS X 10.10.2
  • about 5 years System Events error
  • about 5 years error "System Events got an error: Can’t get splitter group 1 of splitter group 1 of window 1 of application process \"iTunes\". Invalid index." number -1719 from splitter group 1 of splitter group 1 of window 1 of application process "iTunes"
  • over 5 years iTunes 11.3 Canada
  • over 5 years Issue with locating Free Button on iBooks app page iTunes 11.2.2 and 11.3
  • about 6 years LICENSE?
Apple-ID-AppleScript open pull requests (View All Pulls)
  • Update .gitignore
  • Update Enterprise iOS Apple ID Creator.applescript
  • Update .gitignore
  • Update
  • Update Enterprise iOS Apple ID Creator.applescript
  • apple
Apple-ID-AppleScript list of languages used
Other projects in AppleScript