iLoveConverter
Categories 11 categories

M4R – The iPhone Ringtone (.m4r) Format, Explained

iLoveConverter Team 2 min read

On this page

.m4r is Apple’s custom file extension for AAC audio used exclusively as iPhone ringtones. It is identical to an .m4a (AAC-LC) file — the only difference is the extension, a duration limit of 30 seconds (was 40 before iOS 13), and that iTunes automatically treats .m4r as a ringtone and syncs it to the iPhone.

The M4R trick

Apple does not use a separate codec or container for ringtones. It simply recognises files with the .m4r extension as ringtones in iTunes. Internally:

  • Container — MPEG-4 Part 14 (same as .m4a, .mp4, .3gp).
  • Audio codec — AAC-LC (same as .m4a).
  • Limit — technically 30 seconds after iOS 13; iTunes previously allowed 40 seconds. Longer files get truncated or rejected.

Creating M4R ringtones

From any audio (ffmpeg):

# Step 1 — convert to AAC, trim to 30 seconds starting at offset
ffmpeg -i "song.mp3" -ss 10 -t 30 -c:a aac -b:a 128k "ringtone.m4a"
# Step 2 — just rename to .m4r!
ren ringtone.m4a ringtone.m4r

Via iTunes/Apple Music: trim a song to ≤30 seconds → right click → Create AAC Version → rename .m4a to .m4r → sync via Finder.

Converting M4R back

.m4r → .m4a is literally just renaming — it is the same file. To .mp3:

ffmpeg -i ringtone.m4r -c:a libmp3lame -b:a 192k ringtone.mp3

Common problems

  • iTunes says ringtone is too long — iOS 13+ enforces 30 seconds. Use -t 30 in ffmpeg.
  • Ringtone does not appear on iPhone — check duration; if correct, remove and re-add via Finder (macOS Catalina+ no longer uses iTunes).
  • Windows does not show ringtone extension — enable file extension visibility in Explorer.

FAQ

Is M4R a real format?

Not really — it is an AAC file with a different extension. No special codec, no special container.

Why 30 seconds?

iOS limitation for custom ringtones. Apple’s own ringtones are similarly short.

Can Android play M4R?

Not natively. But renaming to .m4a makes it playable anywhere.

Can I make a ringtone longer than 30 seconds?

For non-ringtone use, yes. As an iPhone ringtone, no — iOS 13 truncates or rejects.

Try it yourself — free, right in your browser

Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.

Format deep-dives: M4R (.m4r) , AAC (.aac) , MP3 (.mp3)