Making a custom ringtone should be simple: take an audio file, trim it, put it on your phone. In practice, Apple and Android have different format requirements, duration limits, and transfer methods that make it more complicated than it needs to be.

The good news: the actual audio encoding is trivial. M4R (iPhone) is just renamed M4A. Android plays MP3 and OGG directly. The hard part is getting the file onto your device with the right extension and in the right directory. This guide covers the format specs, duration limits, and step-by-step process for both platforms.

M4R: iPhone Ringtones

M4R is Apple's ringtone format. Technically, it's identical to M4A — AAC audio in an MPEG-4 container. The only difference is the file extension: .m4r instead of .m4a. Renaming an M4A file to .m4r makes it a valid iPhone ringtone (assuming it meets the duration requirement).

Specifications:

ParameterRequirement
FormatAAC in MPEG-4 container (.m4r extension)
Maximum duration40 seconds (ringtones), 30 seconds (text tones)
Bitrate128-256 kbps (128 is fine for ringtones)
Sample rate44.1 kHz
ChannelsStereo or mono

Files exceeding 40 seconds won't appear in the ringtone picker on iPhone. They'll import successfully but simply won't show up when you go to Settings → Sounds → Ringtone.

Creating an M4R Ringtone

The process:

  1. Choose your audio source: Any format works as a starting point — MP3, WAV, FLAC, M4A, OGG.
  2. Trim to 30-40 seconds: Pick the best 30-second segment. For a song, this is usually the chorus or a memorable hook. Use any audio editor (Audacity, GarageBand, or an online trimmer).
  3. Convert to M4A/AAC: Encode as AAC at 128 kbps, 44.1 kHz. Convert MP3 to M4A or WAV to M4A at ChangeThisFile.
  4. Rename .m4a to .m4r: Change the file extension. On Mac: right-click → Rename. On Windows: ensure file extensions are visible in Explorer, then rename.
  5. Transfer to iPhone: Connect via USB, open Finder (Mac) or iTunes (Windows), drag the .m4r file to your device. It appears under Settings → Sounds → Ringtone.

Alternative: GarageBand on iPhone can export any project directly as a ringtone without the manual conversion/rename process.

Android Ringtones: MP3 and OGG

Android is more flexible than iPhone — it accepts multiple audio formats for ringtones and has no strict duration limit (though keeping it under 30 seconds is practical).

Supported formats:

  • MP3: Universal Android support. The most common ringtone format.
  • OGG (Vorbis): Native Android support since 1.0. Android's built-in ringtones are often OGG files. Slightly better quality than MP3 at matched bitrates.
  • WAV: Supported but unnecessarily large for a 30-second clip.
  • M4A (AAC): Supported on most Android devices since Android 2.3.
  • FLAC: Supported on Android 3.1+.

Setting a Custom Ringtone on Android

  1. Prepare the audio: Trim to 30 seconds. Convert to MP3 or OGG at 128-192 kbps. Convert WAV to MP3 or FLAC to OGG at ChangeThisFile.
  2. Transfer to phone: Copy the file to your phone's Ringtones folder (internal storage or SD card). Use USB transfer, cloud storage, or Bluetooth.
  3. Set as ringtone: Go to Settings → Sound → Phone ringtone → select your custom file. Alternatively, use a file manager app to browse to the file and tap "Set as ringtone."

Some Android manufacturers (Samsung, Pixel) also let you set ringtones directly from the file manager or music player apps without manually placing files in the Ringtones directory.

Duration Limits and Best Practices

PlatformMax RingtoneMax Text ToneRecommended
iPhone40 seconds30 seconds25-30 seconds
AndroidNo hard limitNo hard limit25-30 seconds

Practical trimming advice:

  • Start strong: The ringtone should be immediately recognizable. Don't start with a quiet intro — you need to hear it in a noisy room.
  • Pick a loop-friendly segment: If the call goes unanswered, the ringtone loops. Choose a segment where the end transitions smoothly back to the beginning. Ending and starting on the same note or a musically compatible note prevents a jarring loop.
  • Fade out optional: A short fade-out (0.5-1 second) at the end prevents a hard cut when the tone loops, but it's not required.
  • Volume normalize: Your ringtone competes with ambient noise. Normalize to -1 dBFS peak — you want it loud enough to hear. Unlike music mastering, there's no need for dynamic range in a ringtone.

Notification and Alarm Sounds

The same formats work for notification sounds and alarms, with slightly different practical considerations:

  • Notifications: Short — 1-5 seconds. A brief chime, beep, or sound effect. Longer notification sounds are annoying when you receive 20 messages in a group chat.
  • Alarms: Can be longer (30-60 seconds). Should start gently and build in volume, since the purpose is to wake you gradually rather than startle you. A sudden loud sound as an alarm triggers a stress response.
  • Text/message tones: 1-3 seconds. iPhone limits text tones to 30 seconds, but practically, anything over 3 seconds is too long for a text notification.

On Android, place files in the corresponding directories: Ringtones/, Notifications/, Alarms/ on internal storage. The system scans these directories and makes the files available in the respective pickers.

Format Comparison for Ringtones

FormatiPhoneAndroidFile Size (30s, 128 kbps)Quality
M4R (AAC)Native ringtone formatNot recognized as ringtone~480 KBVery good
MP3Not supported as ringtoneNative ringtone format~480 KBGood
OGGNot supportedNative ringtone format~400 KBVery good
M4A (AAC)Must rename to .m4rSupported on most devices~480 KBVery good
WAVNot supported as ringtoneSupported~5 MBPerfect (overkill)

For a 30-second clip, file size is negligible regardless of format. Choose based on device compatibility, not size.

Converting Audio to Ringtone Formats

Start with any audio file — song, sound effect, recording — and convert to the right format for your device.

For iPhone (M4R): Convert MP3 to M4A then rename to .m4r | WAV to M4A | FLAC to M4A | OGG to M4A

For Android (MP3/OGG): WAV to MP3 | M4A to MP3 | FLAC to MP3 | WAV to OGG | FLAC to OGG

Remember to trim to 30-40 seconds before or after conversion. Most audio editors handle this easily.

Custom ringtones are simpler than they appear. For iPhone: convert to M4A, rename to .m4r, keep it under 40 seconds. For Android: convert to MP3 or OGG, drop it in the Ringtones folder. The format conversion is the easy part — picking the perfect 30 seconds of audio is the hard part.

Convert MP3 to M4A (for iPhone ringtones), M4A to MP3 (for Android), or WAV to MP3 — free at ChangeThisFile.