How to Convert Audio to Ringtone Format (iPhone & Android)
Learn how to create custom ringtones for iPhone (M4R) and Android (MP3/OGG). Step-by-step guide covering trimming, format conversion, loudness, and installation on both platforms.

Learn how to create custom ringtones for iPhone (M4R) and Android (MP3/OGG). Step-by-step guide covering trimming, format conversion, loudness, and installation on both platforms.

In an age of notifications, custom ringtones might seem quaint. But there is something genuinely useful about recognizing your phone's ring instantly in a crowded room — not because of its volume, but because of its sound. Default ringtones are shared by millions of phones. A custom ringtone is unmistakably yours.
The problem is that making a custom ringtone in 2026 is still unnecessarily complicated, especially on iPhone. Apple requires a specific format (M4R) with specific constraints (under 40 seconds), and getting the file onto your phone involves a process that feels like it was designed to discourage you. Android is more flexible — it accepts standard MP3 and OGG files — but the trimming and volume optimization steps are the same.
This guide walks through the complete process for both platforms: choosing and trimming your source audio, converting to the right format, optimizing the volume so your ringtone is actually audible, and installing it on your device.

| Requirement | iPhone (iOS) | Android |
|---|---|---|
| Format | M4R (AAC in MPEG-4 container) | MP3, OGG, WAV, M4A, FLAC |
| Max Duration | 40 seconds (ringtone) / 30 seconds (text tone) | No hard limit (30-40s recommended) |
| File Size Limit | None (practical) | None (practical) |
| Sample Rate | 44.1 kHz or 48 kHz | Any standard rate |
| Channels | Stereo or Mono | Stereo or Mono |
| Recommended Bitrate | 256 kbps AAC | 192-320 kbps MP3 |
The key constraint for iPhone users is the M4R format. An M4R file is technically identical to an M4A file (AAC audio in an MP4 container) — the only difference is the file extension. Apple requires .m4r specifically; renaming an .m4a or .mp3 file to .m4r without converting will not work unless the underlying codec is already AAC.
The best ringtones share a few characteristics:
You can create a ringtone from virtually any audio format. If your source is a video file, you will need to extract the audio first. Our guide on how to extract audio from video covers this process, or you can use the extract audio tool directly.
Common source formats and their handling:
A ringtone should be 20-30 seconds long. Shorter than 15 seconds feels too brief (the phone barely rings before it stops). Longer than 40 seconds exceeds Apple's limit and is unnecessary — if you have not answered by 30 seconds, you are not going to.
# Trim audio from 0:45 to 1:15 (30-second clip)
ffmpeg -i song.mp3 -ss 00:00:45 -t 00:00:30 -c copy trimmed.mp3
# Trim with fade in and fade out
ffmpeg -i song.mp3 -ss 00:00:45 -t 00:00:30 \
-af "afade=t=in:st=0:d=0.5,afade=t=out:st=29:d=1" \
-c:a libmp3lame -b:a 256k trimmed.mp3
The fade-in and fade-out are important — they prevent the jarring effect of audio that starts and stops abruptly. A 0.5-second fade-in and 1-second fade-out sound natural without being noticeable.
For a visual trimming experience, our audio trimmer guide covers more detailed trimming techniques, or use our video trimmer tool if your source is a video file.
Pro Tip: Pick a section of the song that starts with a distinctive element — a vocal hook, a guitar riff, a drum pattern. Avoid sections that start with ambient pads or slow buildups. You need to recognize the ringtone within 2-3 seconds in a noisy environment. The chorus or a signature riff is usually the best choice.
Ringtones need to be louder than music you listen to with headphones. They play through phone speakers in potentially noisy environments. A ringtone that sounds good at normal headphone volume may be inaudible in a busy street.
# Normalize to -10 LUFS (louder than music standard, appropriate for ringtones)
ffmpeg -i trimmed.mp3 -af "loudnorm=I=-10:TP=-1:LRA=7" -c:a libmp3lame -b:a 256k loud_ringtone.mp3
# Add compression to reduce dynamic range (makes quieter parts louder)
ffmpeg -i trimmed.mp3 \
-af "acompressor=threshold=-15dB:ratio=4:attack=5:release=50,loudnorm=I=-10:TP=-1:LRA=7" \
-c:a libmp3lame -b:a 256k loud_ringtone.mp3
The target of -10 LUFS is deliberately louder than streaming platform standards (-14 to -16 LUFS) because ringtones need to cut through ambient noise. The compressor reduces dynamic range, ensuring no part of the ringtone is significantly quieter than any other part.
For a deeper dive into loudness normalization and what LUFS means, see our audio normalization guide.
# Convert any audio to iPhone ringtone (M4R)
ffmpeg -i loud_ringtone.mp3 -c:a aac -b:a 256k -f mp4 ringtone.m4r
# Full pipeline: trim + normalize + convert to M4R in one command
ffmpeg -i song.flac -ss 00:01:30 -t 00:00:30 \
-af "afade=t=in:st=0:d=0.5,afade=t=out:st=29:d=1,loudnorm=I=-10:TP=-1:LRA=7" \
-c:a aac -b:a 256k -ar 44100 -f mp4 ringtone.m4r
# Convert any audio to Android ringtone (MP3)
ffmpeg -i loud_ringtone.wav -c:a libmp3lame -b:a 256k -ar 44100 ringtone.mp3
# Full pipeline: trim + normalize + convert to MP3 in one command
ffmpeg -i song.flac -ss 00:01:30 -t 00:00:30 \
-af "afade=t=in:st=0:d=0.5,afade=t=out:st=29:d=1,loudnorm=I=-10:TP=-1:LRA=7" \
-c:a libmp3lame -b:a 256k -ar 44100 ringtone.mp3
You can also use our audio converter for the format conversion step — upload your trimmed audio and select M4R (for iPhone) or MP3 (for Android) as the output format.

Method 1: Using Finder/iTunes (Mac)
.m4r file onto your iPhone in the sidebarMethod 2: Using GarageBand (No Computer)
Method 3: Using the Files App + Shortcut (iOS 16+)
.m4r file to the Files app on your iPhoneAndroid makes this much simpler:
Method 1: Direct File Copy
/Ringtones/ folder on your device storage (create the folder if it does not exist)Method 2: Using the Files App
Method 3: Via Settings
Notification sounds should be shorter than ringtones — 2-5 seconds — and less intrusive. Think subtle chimes, clicks, or short musical phrases.
# Create a 3-second notification sound
ffmpeg -i source.mp3 -ss 00:00:12 -t 00:00:03 \
-af "afade=t=in:st=0:d=0.1,afade=t=out:st=2.5:d=0.5,loudnorm=I=-12:TP=-1:LRA=5" \
-c:a aac -b:a 256k -f mp4 notification.m4r
On iPhone, notification/text tone files use the same M4R format but must be under 30 seconds. On Android, place the file in the /Notifications/ folder instead of /Ringtones/.
Alarm tones should be persistent and gradually increasing in volume. A good alarm does not start at full blast (jarring) but escalates to get your attention.
# Create alarm with gradual volume increase over 30 seconds
ffmpeg -i source.mp3 -ss 00:00:00 -t 00:00:30 \
-af "volume='min(1,t/10)':eval=frame,loudnorm=I=-8:TP=-1:LRA=5" \
-c:a libmp3lame -b:a 256k alarm.mp3
On Android, place alarm sounds in the /Alarms/ folder.
Both iPhone and Android let you assign different ringtones to different contacts. Create several ringtones — a unique sound for your partner, your boss, your best friend — so you know who is calling before looking at the screen.
| Ringtone Type | Duration | Target LUFS | iPhone Format | Android Format | Android Folder |
|---|---|---|---|---|---|
| Ringtone | 20-30 seconds | -10 LUFS | M4R (max 40s) | MP3/OGG | /Ringtones/ |
| Text/Notification | 2-5 seconds | -12 LUFS | M4R (max 30s) | MP3/OGG | /Notifications/ |
| Alarm | 15-30 seconds | -8 LUFS | M4R | MP3/OGG | /Alarms/ |
| Timer | 5-10 seconds | -10 LUFS | M4R | MP3/OGG | /Ringtones/ |
Pro Tip: When creating ringtones from songs, avoid the very beginning or very end of the track. The most recognizable and energetic part is usually the chorus or a signature riff in the middle. Use our how to convert MP4 to MP3 guide if your source audio is in a video file, then trim the extracted audio to your desired section.
If you want to create ringtones from multiple songs at once:
#!/bin/bash
# Create M4R ringtones from multiple MP3 files
# Each ringtone is the 30 seconds starting at 1:00
for mp3 in /path/to/songs/*.mp3; do
filename=$(basename "$mp3" .mp3)
ffmpeg -i "$mp3" -ss 00:01:00 -t 00:00:30 \
-af "afade=t=in:st=0:d=0.5,afade=t=out:st=29:d=1,loudnorm=I=-10:TP=-1:LRA=7" \
-c:a aac -b:a 256k -f mp4 \
"/path/to/ringtones/${filename}.m4r"
done
For large-scale batch operations, our batch processing guide covers more advanced automation techniques.

.m4r (not .m4a or .mp3)/Ringtones/, /Notifications/, or /Alarms/)Technically yes, for personal use. You can convert any audio you own into a ringtone for your personal phone. Distribution of copyrighted ringtones is a different matter and subject to licensing requirements.
M4R is the only format iPhones accept as a ringtone. Internally, M4R is AAC audio — the same codec used by Apple Music. Use 256 kbps AAC at 44.1 kHz for the best quality.
Yes, on both platforms. On iPhone, GarageBand can create and install ringtones entirely on the device. On Android, many file manager apps can set any audio file as a ringtone directly. Our audio converter also works in mobile browsers for format conversion.
First, download or extract the audio from the video (respecting copyright). Then trim it to 30 seconds, normalize the volume, and convert to M4R (iPhone) or MP3 (Android). Our guide on how to convert video to audio covers the extraction process.
Apple uses the .m4r extension as a signal to iOS to treat the file as a ringtone rather than a music track. It enables ringtone-specific behaviors like appearing in the Sounds settings and being limited to the appropriate duration. The underlying codec (AAC) is the same one Apple uses for music, making the format distinction primarily organizational rather than technical.
Priya Patel
UX researcher and technical writer exploring document accessibility, font technology, and cross-platform compatibility.