It's useful to know how to transfer text messages from one iPhone to another. The obvious application is when setting up a new iPhone: when you open Messages for the first time it will be empty, and your old conversations can be important for work or hold sentimental value. But it can be a valuable backup too: often the best method is to back up the texts to iCloud or a Mac first, which can be a useful safeguard if you need a record of the messages in future.

This article looks at the best ways to transfer SMS and iMessage texts from one iPhone to another using iCloud backup, to a Mac using an app called PhoneView, and to a PC using CopyTrans. Read next: Best messaging apps for iPhone & iPad

Back up to iCloud

Text messages are contained within the iCloud backup, so you can use an iCloud backup to transfer and restore all your text messages from one iPhone to another.

The only caveat to bear in mind is that messages form part of the wider backup and restore, so you'll have to restore device settings and app data at the same time (which removes any new messages from your iPhone). So this technique is best to use when you're setting up a new iPhone.

This Apple Support document lists all the items that are backed up and restored by iCloud.

Follow these steps to back up and restore Messages (and other app data) from one iPhone to another:

1. Connect the old iPhone to a power source and turn on Wi-Fi.

2. On the old iPhone - assuming you're running iOS 8 or later - tap Settings > iCloud > Backup. The Backup switch is near the bottom of the large group of controls. (On iOS 7 or earlier, you should tap Settings > iCloud > Storage & Backup.)

3. Make sure iCloud Backup is turned on.

How to transfer text messages from iPhone to Mac, PC or another iPhone: iCloud

4. Tap Back Up Now, and wait for the backup process to complete. You'll need to remain connected to Wi-Fi for the entirety of this process.

5. Turn on your new iPhone. If you haven't done so already, you'll need to go through the setup process. When asked, tap Restore from iCloud Backup and Next. If you've already been through the setup process, you'll need to reset your iPhone. Open the Settings app and tap General > Reset > Erase All Content and Settings.

6. Enter your Apple ID and Password.

Your new iPhone will now display all your messages from the old iPhone, along with all your apps, photos, emails and other app data.

Back up to Mac

If you want to transfer text messages from one iPhone to another without using a backup and restore process, then you'll need a third-party app. A few apps allow you to access and save the data from an iPhone, but we're going to use PhoneView. (There's a free trial, while the paid-for version costs $29.95.) See also: How to move from an old iPhone to a new iPhone

How to transfer text messages from iPhone to Mac, PC or another iPhone: PhoneView

Here's how to use PhoneView to access the messages on your iPhone:

1. Install PhoneView.

2. Open the app. Click OK when you're told that 'PhoneView would like to access your contacts'.

3. Connect your iPhone to your Mac.

4. Click Archive in the PhoneView alert window.

5. Click Messages in the Sidebar and OK to the Now Loading Phone Data window. It takes a few minutes for the iPhone data to load into PhoneView (a blue progress bar at the bottom of the sidebar on the left shows how the data load is going).

6. The names of people you have had conversations with appears in the middle column. Select one to view the text messages you've shared with them.

7. You can drag the name of a person directly to the desktop to save that conversation as a PDF.

8. To extract all of your messages select All and click Copy From iPhone. Choose a location and click Save.

You can change the type of file PhoneView saves from PDF File to a text file, tab delimited file, CSV or XML (this makes it easy to import into a spreadsheet such as Numbers or Excel).

How to transfer text messages from iPhone to Mac, PC or another iPhone: PhoneView

What you can't do, unfortunately, is copy these messages back into the Messages app. You can, however, copy them to a compatible app on the iPhone (iBooks works, but we prefer an app like GoodReader for viewing PDF files). You can email them to yourself or use iTunes File Sharing to copy the files across. Read next: How to send and receive text messages on Mac

Transfer texts to PC

If you use a Windows PC, you can also download your texts (and much more) to your computer.

As on Mac, you'll need a third-party program. In this instance we chose CopyTrans, which is free to download and has a good user interface.

Once you download the CopyTrans Control Center you'll need to install CopyTrans Contacts; this software will enable you to extract your text messages from your iPhone. Read next: How to fix iMessage problems

How to transfer text messages from iPhone to Mac, PC or another iPhone: CopyTrans

Before proceeding, you'll need to ensure you've got iTunes or the appropriate Apple drivers installed. Thankfully CopyTrans has a download for that too!

Once you've got the program installed, you can plug your iPhone into your computer. Confirm that you trust the machine when prompted.

After waiting a few minutes, you should see CopyTrans loading your messages. Depending on the amount of texts and images (including ones from third-party applications such as Viber and WhatsApp), it might take some time for CopyTrans to pick up all the details. Read next: How to sync iMessage conversations on iPhone, iPad & Mac

How to transfer text messages from iPhone to Mac, PC or another iPhone: CopyTrans

After it has loaded you'll see a list of contacts. From here, simply select the conversations you wish to backup or export and hit the 'Export Selected' button and you'll be presented with various ways of exporting your messages.

After selecting your method, in our case we chose to extract it to a Word document, you'll be prompted to save it to a certain location.

Once saved, make sure the backup and copy has successfully transferred over. Interestingly we found that text, images and even emojis (converted) correctly transferred over to our Word document. See also: How to transfer music from one iPhone to another

How to transfer text messages from iPhone to Mac, PC or another iPhone: CopyTrans

See also: How to move from Windows Phone to iPhone | How to move from Android to iPhone | How to move from BlackBerry to iPhone