Browser-based ringtone cutter · iPhone .m4r, Android MP3, OGG and WAV

Ringtone Maker

Pick the part of a song you want to hear when the phone rings, add a fade and match its loudness, and save it as an iPhone .m4r (40 seconds at most) or an MP3 or OGG for Android.

Song and section

Up to 20 minutes of audio, or a video with sound.

Drop a song here or click to choose

.mp3, .m4a, .wav, .flac, .ogg, .mp4

Save and install

Choose a song to enable the export buttons.

Checking whether this browser can write AAC…

OGG is offered only where MediaRecorder can write Ogg (Firefox can; Chrome and Safari write other containers), because the file is recorded in real time. Android plays MP3 as a ringtone too.

How to install it on an iPhone

  1. On a Mac, connect the iPhone, select it in the Finder sidebar and drag the .m4r file onto its name. Then open Settings, Sounds & Haptics, Ringtone on the phone and pick it from the Ringtones list.
  2. On Windows, use the Apple Devices app (Windows 11, where it replaced iTunes for managing an iPhone) or iTunes on older versions: connect the iPhone, select it and drag the .m4r into the app's window, or into its Tones section where your version has one, then sync if the app asks.
  3. Without a computer, import the file into GarageBand on the iPhone, then use Share and choose Ringtone.

Ringtone Maker

Operator: Abdulla Al Fahad. How tools are built and checked

A good ringtone is the right ten to thirty seconds of a song, starting where the music is already going and ending without a bump, at a volume that matches your other sounds. iPhones add a rule of their own: a ringtone must be 40 seconds or shorter and must be an .m4r file, which is AAC audio in an MP4 container under a different name. This page cuts the section on a waveform, fades and levels it, and writes the .m4r itself.

Key features

  • A waveform with start and end handles, typed times, preset lengths and a one-click search for the loudest stretch of the length you want
  • Fade in and fade out, peak levelling to -1 dBFS and an optional mono mix-down, with a preview that plays the processed section
  • An iPhone .m4r written by the page, and MP3, WAV and (where the browser can) OGG for Android, each with install steps

Why an .m4r is an M4A file and how this page writes one

The file may be audio or video of up to 20 minutes. The section is limited to 40 seconds for iPhone and 120 seconds for Android here, and must be at least 1 second. The m4r button is switched on only after the browser's WebCodecs reports an AAC-LC encoder for 44.1 kHz stereo, and a mono export is checked again when you press Save; if there is no encoder, the page says so and points to the MP3 or WAV route instead of offering a button that cannot work.

How it works

The section is cut, the fades are applied as straight-line ramps, and the peak of the faded section is brought to -1 dBFS in one gain step, so a quiet song is raised and a hot one lowered by the same amount everywhere. The loudest-stretch search sums the squared samples of every 100 ms block and slides a window of your length across them, taking the earliest window on a tie.

For .m4r the audio is resampled to 44.1 kHz, encoded to AAC-LC frames of 1,024 samples at the bit rate you choose, and wrapped by the page's own MP4 writer: an ftyp box branded M4A, then the moov box with the sample tables, then the audio. Putting the moov box first lets a player read the sample tables before the audio data. No edit list is written, so any start-up delay in the encoder's first frame stays in the file. That delay and the padding at the end add a few frames, so a section of exactly 40 seconds would come out at about 40.05 s; for iPhone the page drops the last frames until the file is under 40 seconds and says how many milliseconds it removed.

Typical uses

  • A chorus whose loudest stretch starts mid-bar: let the page pick the loudest 30 seconds, then move the start handle back to the nearest downbeat and shorten the fade in to 0.1 seconds so the phone does not ring in silence.
  • A voice memo from a child saying the family's name, 6 seconds long: tick Mix down to mono and save the MP3 for Android, or the .m4r for an iPhone, with the fade in set to 0.
  • A song that is mastered very loud: the peak is already near 0 dBFS, so the levelling gain is only a decibel or so, and the page reports it.

Building one

  1. Drop the song and let the page propose the loudest 30 seconds.
  2. Drag the S and E handles, or type the times, until the section starts and ends where you want; check the length against the 40-second limit if you chose iPhone.
  3. Set the fades, press Hear the ringtone and adjust until it sounds right.
  4. Press Save iPhone ringtone (.m4r), or Save MP3 for Android, then follow the install steps on the right.

Example

A 4-minute song whose chosen 20-second section peaks at -9 dBFS

Start 62.0 s, end 82.0 s, fade in 0.3 s, fade out 1.5 s, level to -1 dBFS, iPhone, AAC at 128 kbps

What the page works out

20.0 s is 882,000 samples at 44.1 kHz; the gain is +8.0 dB (from a peak of -9 dBFS to -1 dBFS); the AAC stream is at least 862 frames, plus the few the encoder adds for its start-up delay; at 128 kbps the file is about 320 KB.

Tips for best results

  • A ringtone loops, so end it on a fade out of one to two seconds; the ring sounds the same each time instead of cutting off on the loudest beat.
  • The Loudest button keeps the length you have set. Change the length first, then press it.
  • Phone speakers have little low end, so mono and a short, bright section often sound better than the full-range stereo mix.

Things to check before you rely on it

Levelling to -1 dBFS makes the section as loud as it can be without clipping, not as loud as your other tones. If the ring is too quiet or too loud next to your alert sounds, change the phone's volume or pick another section; this page has no loudness target.

OGG is written by recording the section in real time, so it takes as long as the section lasts, and it is offered only in browsers whose MediaRecorder can write Ogg.

Common errors and how to fix them

iPhone ringtones are limited to 40 seconds; this section is 45.0 s
Shorten the section, or choose Android if the phone is not an iPhone.
This browser's WebCodecs has no AAC-LC encoder for stereo at 44100 Hz
The .m4r button stays off. Save the MP3 or WAV, then in the Music app on a Mac use File, Convert, Create AAC Version and rename the .m4a file to .m4r.

Putting the file on the phone

On a Mac, connect the iPhone, select it in the Finder sidebar and drag the .m4r file onto its name; the tone then appears under Settings, Sounds & Haptics, Ringtone. On Windows 11, the Apple Devices app (the replacement for iTunes in managing an iPhone) takes the file when you drag it into the window with the iPhone selected; on older Windows, iTunes adds it from its Tones section. Without a computer, the route is GarageBand on the phone: import the file, then Share and choose Ringtone.

On Android, copy the file into the Ringtones folder, or use the phone's own Add ringtone entry under Settings, Sound, Phone ringtone. The menu names differ between makers.

Why 44.1 kHz and AAC-LC

AAC-LC is the profile every iPhone plays, 44.1 kHz is a rate on AAC's standard sampling-frequency table and the one most music already uses, and the 1,024-sample frame is fixed by the profile. The fixed frame size sets the minimum frame count: 882,000 samples divided by 1,024 and rounded up is 862, and the encoder adds a few frames of its own.

Frequently asked questions

What is the longest iPhone ringtone?

Forty seconds. The page enforces that figure when iPhone is chosen and shows the section length against it, so you can see how far under the limit you are.

How does this differ from Audio Cutter on this site?

Audio Cutter trims and fades and saves WAV, or a WebM, Ogg or M4A recorded in real time. This page adds the loudest-stretch search, the peak levelling to -1 dBFS and, above all, the iPhone .m4r file with its install steps.

Will a song with a copy protection tag work?

Only files your browser can decode work. A protected file from a store usually cannot be decoded in any browser, and the page shows the browser's own decoding error.