How to Create a TXT File on iPad
In this article
Yes, you can create a plain text (.txt) file directly on your iPad using the built-in Files app or a text editor like TextEdit (if you have a Mac) or third-party apps. The simplest method uses the Files app to create a new folder and then a text file via the share sheet—but actually, the Files app doesn't create text files directly. Instead, you'll use a free text editor app like Pages (which can export as .txt) or a dedicated plain-text app. Below are the exact steps for the most reliable method using the built-in Notes app and exporting to .txt, plus a direct method using the Files app with a third-party editor.
What You'll Need
- An iPad running iPadOS 13 or later (for the Files app and modern share sheet).
- Either the built-in Notes app (free) or a free text editor from the App Store, such as Textastic (paid) or Koder (free). For this guide, we'll use the built-in Notes app as the primary method because it requires no extra downloads.
- Optional: A cloud storage service like iCloud Drive, Dropbox, or Google Drive if you want to save the file to the cloud.
Step-by-Step
Note: Menu labels may vary slightly depending on your iPadOS version and language settings.
Method 1: Using the Notes App (Built-in, No Extra Apps)
- Open the Notes app on your iPad. It's a yellow icon with a notepad.
- Tap the New Note button (a square with a pencil icon) in the top-right corner of the Notes list.
- Type your text content. For a plain text file, avoid adding formatting like bold or headings—just type plain text.
- When you're done, tap the Share button (a square with an upward arrow) in the top-right corner of the note.
- In the share sheet, scroll down and tap Save to Files.
- Choose a location, such as On My iPad or a folder in iCloud Drive. You can also tap New Folder to create a new folder.
- Before saving, tap the file name field (it will show the note's title) and rename it to something like myfile.txt. Make sure to include the .txt extension.
- Tap Save in the top-right corner. The note will be saved as a .txt file in the chosen location.
Method 2: Using a Dedicated Text Editor (e.g., Koder – Free)
- Download a free plain-text editor from the App Store, such as Koder or Textastic (paid). For this example, we'll use Koder.
- Open the app and tap the + (plus) icon to create a new file.
- Name the file with a .txt extension, e.g., notes.txt.
- Type your content in the editor.
- Tap the Save icon (usually a floppy disk or a checkmark) and choose a location, such as On My iPad or a cloud folder.
- The file is now saved as a plain text file.
Method 3: Using Pages (Free with iPad) – Export as .txt
- Open Pages (free from the App Store, pre-installed on many iPads).
- Tap the + to create a new document, then choose Blank.
- Type your text.
- Tap the Share button (the box with an arrow) in the top-right corner.
- Tap Export and choose Plain Text (.txt).
- Then tap Save to Files and choose a location.
Common Mistakes
- Forgetting the .txt extension – If you don't type .txt at the end of the filename, the file may be saved without an extension, making it hard to open later.
- Using rich formatting – The Notes app and Pages add formatting by default. For a true .txt file, avoid bold, italics, or headers. If you export from Pages, it will strip formatting, but if you save directly from Notes, it may include formatting metadata in some cases—actually, Notes exports plain text fine, but it's safer to use a dedicated editor.
- Saving to the wrong location – If you choose “On My iPad” and later can't find the file, check the On My iPad section in the Files app.
- Using the share sheet incorrectly – Some users tap “Copy” instead of “Save to Files”. Make sure you tap Save to Files.
Tips
- To quickly create a text file without opening a full app, use Shortcuts (built-in) to create a shortcut that saves a text file to a specific folder. But that's more advanced.
- If you plan to create many text files, install a dedicated editor like Koder or Textastic—they handle .txt files natively and are faster.
- Use iCloud Drive to sync your text files across all your Apple devices. When saving, choose iCloud Drive as the location.
- You can also create a text file on your Mac and sync it via iCloud, but the steps above are for iPad-only.
Troubleshooting
I can't find the “Save to Files” option in the share sheet.
Scroll down in the share sheet—it may be below the app icons. If you still don't see it, tap Edit Actions at the bottom and enable Save to Files.
My file saved without a .txt extension.
Rename the file in the Files app: tap and hold the file, choose Rename, and add .txt at the end. A dialog will ask if you want to keep the extension—tap Keep .txt.
I can't open the file on another device.
Make sure the file is saved in a location that syncs, like iCloud Drive. If it's on “On My iPad”, it won't appear on other devices unless you move it.
The Notes app won't let me rename the file before saving.
When you tap “Save to Files”, you'll see a file name field at the top of the dialog. Tap it to edit. If you miss it, you can rename the file later in the Files app.
I don't have the Files app.
All iPads running iPadOS 11 or later have the Files app. It's a blue folder icon. Search for it with Spotlight (swipe down from the middle of the home screen).
Frequently Asked Questions
Can I create a .txt file in the Files app directly?
No, the Files app itself doesn't have a “New Text File” option. You need to use a text editor or export from another app.
Is there a free text editor on the App Store?
Yes, several free ones like Koder, Textastic (free with in-app purchases), and Pretext. They all allow creating and saving .txt files.
Will the Notes app save a file with formatting?
When you export via “Save to Files”, Notes saves a plain text file without formatting. However, if you use rich text features in Notes, they may be stripped, so it's safe.
How do I open a .txt file on my iPad?
Tap the file in the Files app, and it will open in a preview. To edit it, tap the share button and choose an editor like Koder, or use the built-in Quick Look editor (tap the pencil icon).
Can I create a .txt file using Siri?
No, Siri cannot create files directly. You can use Shortcuts with Siri, but that requires setting up a shortcut first.
Why does my .txt file open in Pages instead of a text editor?
By default, .txt files may open in Pages if it's installed. To change the default, tap and hold the file, choose Share, then Open in Another App and select your preferred editor. You can also set a default app in Settings if the app supports it.