Home › Audio & Video › MP3 to M4R

MP3 to M4R

Turn any song into a real iPhone ringtone. Each MP3 is trimmed to the best 20, 30 or 40 seconds (the loudest part is picked for you), faded in and out, encoded as AAC and saved as a genuine .m4r file with its title, artist and cover art. Convert one song or a whole batch; your music never leaves your device.

Last updated:

Ringtone length

Every file is trimmed to the length above, because iPhone ringtones can be at most 40 seconds.

    Advertisement
    Advertisement

    How to use the MP3 to M4R

    1. Add your MP3 files: drop them on the box or click to choose. M4A, WAV, OGG and FLAC work too.
    2. Choose the length and start: 20, 30 or 40 seconds, starting at the loudest part or at the beginning, plus fades and AAC quality.
    3. Fine-tune a song (optional): press Edit part, drag the green box over the waveform, press Play selection to hear it and rename the ringtone.
    4. Press Convert to M4R. Each file shows its progress and the new file size.
    5. Download the .m4r files one by one or press Download all (ZIP), then add them to your iPhone (see the steps below).

    Add the M4R ringtone to your iPhone

    Your computerSteps
    Mac (macOS Catalina or later)Connect the iPhone with a cable, open Finder and select the iPhone in the sidebar. Drag the .m4r file onto the iPhone's General tab. It syncs straight away.
    Windows (iTunes or Apple Devices app)Connect the iPhone, open the device in the app and drag the .m4r file into the device's Tones section (or onto the device in the sidebar).
    Older Mac with iTunesAdd the .m4r file to the Tones library, then sync tones to the iPhone.
    On the iPhoneOpen Settings → Sounds & Haptics → Ringtone (or Text Tone) and pick your new tone. You can also set it per contact.

    If the file does not appear, check that it is 40 seconds or shorter and that the extension is .m4r, not .m4r.m4a.

    How the conversion works

    1. The MP3 is decoded to raw audio by your browser's Web Audio API and resampled to 44.1 kHz.
    2. The selected part is cut out, faded in and out with straight-line volume ramps and, if you ask for it, normalized so its loudest sample is at −1 dBFS (about 89% of full scale).
    3. The audio is encoded as AAC-LC in 1,024-sample frames, either by the browser's WebCodecs AudioEncoder or by ffmpeg compiled to WebAssembly.
    4. The frames are written into an MPEG-4 file with the M4A brand and an iTunes-style tag block (title, artist, album, cover art), then saved with the .m4r extension.

    File size is roughly bitrate × seconds ÷ 8: a 30-second ringtone at 192 kbps is 192,000 × 30 ÷ 8 = 720,000 bytes, about 0.7 MB.

    Tips for a great ringtone

    • Start on a strong moment. A ringtone often plays only a few seconds before you answer, so the chorus or a catchy hook works better than a slow intro.
    • Use a short fade-out (1 to 2 seconds) so the loop back to the start does not click.
    • Normalize quiet songs. Classical and acoustic tracks can be hard to hear in a pocket; normalizing raises them without distortion.
    • Keep it to 30 seconds if you also want to use it as a text or alert tone.
    • Only convert music you own or have the rights to use.

    Frequently asked questions

    What is an M4R file?

    M4R is the file type Apple uses for iPhone ringtones and alert tones. Inside it is AAC audio in an MPEG-4 container, exactly like an .m4a music file, but with the .m4r extension so iTunes, Finder and the iPhone treat it as a ringtone.

    How long can an iPhone ringtone be?

    Ringtones can be up to 40 seconds long; longer files are not accepted as ringtones. Alert and text tones are best kept to 30 seconds or less. That is why this tool trims every file to 20, 30 or 40 seconds.

    Can I just rename an MP3 to .m4r?

    No. Renaming does not change the audio inside: an MP3 renamed to .m4r is still MP3 data and is rejected by Finder, iTunes and the Music app. The audio must be re-encoded as AAC, which this tool does.

    How do I put the M4R ringtone on my iPhone?

    On a Mac, connect the iPhone, select it in Finder and drag the .m4r file onto the General tab. On Windows, use iTunes or the Apple Devices app and drag the file into the device's Tones section. Then choose it in Settings, Sounds & Haptics, Ringtone.

    Are my songs uploaded to a server?

    No. The MP3 is decoded, trimmed and faded by your browser. AAC encoding uses the browser's built-in WebCodecs encoder when available, otherwise a WebAssembly build of ffmpeg that is downloaded once and runs on your device.

    Which AAC bitrate should I choose?

    192 kbps is plenty for a phone speaker and keeps a 30-second ringtone around 0.7 MB. Choose 256 kbps for the same quality as music bought from Apple, or 128 kbps for the smallest files.

    Are the song title and album art kept?

    Yes, when the option is on. Title, artist, album, album artist, year, genre, track number and the embedded cover image are copied from the MP3's ID3 tags into the M4R file. You can also type a new ringtone name, which becomes the title shown on the iPhone.

    Are all the tools on FreeToolCabin tested for quality and accuracy?

    Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

    Related tools

    Ringtone MakerCut the best 15–40 seconds of any song, add fades and save it as an MP3 ringtone.Audio ConverterConvert MP3, WAV, M4A, OGG and FLAC to MP3 or WAV in batch, right in your browser.M4A to MP3Convert M4A, AAC and iPhone voice memos to MP3 in batch, privately in your browser.Audio CutterTrim MP3 and audio files, add fades and make ringtones.Screen RecorderRecord your screen with mic and system audio.Audio to TextTranscribe MP3, WAV and M4A recordings to text in your browser with Whisper. Export TXT, SRT, DOCX.Audio JoinerMerge MP3 and other audio files into one track with crossfade.WAV to MP3Convert WAV files to MP3 at 128, 192 or 320 kbps, in batches.Voice RecorderRecord and trim audio in your browser.MP3 to WAVConvert MP3 files to WAV in batches.Audio Speed ChangerSpeed up or slow down audio, with or without pitch change.Audio Pitch ChangerShift the pitch of a song or recording up or down without changing tempo.Audio Volume Booster & NormalizerMake audio louder, normalize peaks or loudness, with a limiter against clipping.Clear Audio RecorderRecord clean audio with noise suppression and gain control.Sound Level MeterEstimate noise level in decibels using your microphone.Audio ReverserReverse any audio file and play it backwards, then download the result as WAV.Hearing TestCheck your hearing by ear and frequency, plot an audiogram and find your upper frequency limit.Text to Morse AudioTurn text into Morse code sound at any WPM with Farnsworth timing, then play it or save a WAV.Audio Bitrate CalculatorWork out audio file size from bitrate and length, WAV size, or the bitrate for a target size.Audio Spectrum AnalyzerLive FFT spectrum analyzer for your microphone or an audio file, with dominant frequency and note.Subwoofer Bass TestTest your subwoofer and bass response with 10–200 Hz tones, presets and a low-frequency sweep.Voice ChangerRecord or upload your voice and make it chipmunk, deep, robot, alien, radio or echo. Save as WAV.OGG to MP3Convert OGG Vorbis and Opus audio to MP3 in batch, keeping tags. Free, no upload.FLAC to MP3Convert FLAC to MP3 at up to 320 kbps, keeping tags and album art. Batch, no upload.AAC to MP3Convert AAC and M4A audio to MP3 in batch, at 128 to 320 kbps. Free, no upload.OPUS to MP3Convert OPUS audio and voice messages to MP3 in batch, at 64 to 320 kbps. No upload.Audio NormalizerNormalize audio to a peak level or a LUFS loudness target, in batch, and save as WAV or MP3.Audio Noise ReducerRemove background hiss, hum and room noise from a recording using a noise profile, then save WAV.Audio Fade In and OutAdd a smooth fade in and fade out to any song or recording, then save it as MP3 or WAV.Audio Equalizer10-band EQ for audio files: boost bass, clarify vocals or tame treble, then save as MP3 or WAV.Audio MixerMix up to 4 audio tracks with volume, pan, start offsets and fades, then save the mix as MP3 or WAV.Waveform Image GeneratorTurn any song or recording into a waveform image: bars, mirror or line, as PNG or SVG.8D Audio ConverterMake any song 8D: sound circles around your head with reverb. Preview live, save MP3 or WAV.MIDI PlayerPlay MIDI files in your browser with a piano roll, tempo control, track mute and WAV export.Audio LooperLoop any part of a song seamlessly with a crossfade, repeat it N times or to a length, export.Audio Sample Rate ConverterResample audio to any rate from 8 to 96 kHz and change bit depth. WAV or MP3 output.Audio Spectrogram GeneratorTurn any audio file into a spectrogram image: FFT size, color maps, log or linear scale, PNG export.Audio SplitterSplit audio into equal parts, fixed-length pieces or at silences, and download a ZIP.Dog Training ClickerOnline dog clicker: tap the big button for a crisp click, adjust tone and volume, time treats and sessions.Speaker Impedance CalculatorTotal ohms for 2-8 speakers in series, parallel or series-parallel, with amp check and diagram.8-Bit Sound Effect GeneratorMake retro game sounds: coin, jump, laser, explosion, power-up. Tweak, mutate and export WAV.Add Reverb to AudioAdd room, hall, plate or cathedral reverb to any audio file, preview live, export WAV or MP3.Audio Effects StudioAdd chorus, flanger, phaser, tremolo, distortion and bitcrusher effects to audio. Export WAV/MP3.Audio Translator to EnglishTranslate speech in audio or video files from 90+ languages into English text, with SRT export.Add Background Music to VoiceMix a voice recording with background music: auto-ducking, intro/outro, fades, loudness, MP3.Speaker Crossover CalculatorPassive 2-way and 3-way crossover capacitor and inductor values, 1st to 4th order.Karaoke PlayerSing along to any song: vocal reduction, key change, synced LRC lyrics, mic and recording.Lofi ConverterMake any song lofi: slow it down, add warmth, vinyl crackle, tape wobble, reverb and rain.Loop StationLive looper pedal in your browser: record and overdub 4 synced mic loops to a BPM grid.Online MIDI EditorPiano-roll MIDI editor: open or create .mid files, draw notes, set instruments and tempo, play and save.Morse Code Audio DecoderDecode Morse code from your mic or an audio file with auto tone and WPM detection.Multitrack Audio RecorderRecord overdubs on up to 8 tracks with a metronome, then mix down to WAV or MP3.Online Audio PlayerPlay your MP3, FLAC, WAV, OGG and M4A files with a playlist, EQ, gapless, speed and sleep timer.Online OscilloscopeReal-time audio oscilloscope for mic, line-in or files: time/div, volts/div, trigger, XY mode.Online ThereminPlay a theremin with your mouse, finger or webcam: X sets pitch, Y sets volume, with vibrato and echo.Playback Speed CalculatorHow long a video, audiobook or podcast takes at 1.25×, 1.5×, 2× and the speed you need.Presentation RecorderRecord narrated slides from a PDF or images with mic, webcam bubble and slide timings.Sound IdentifierIdentify sounds from your mic or an audio file: dog barks, sirens, speech, music and 500+ more.Soundboard MakerBuild your own soundboard: upload or record clips, set labels, colors and hotkeys, save locally.Streaming Bitrate CalculatorBest OBS bitrate for your resolution, fps, codec and platform, plus the upload speed you need.Voice Pitch AnalyzerMeasure your speaking pitch: average Hz, pitch range and variation over time on a graph.Add Echo to AudioAdd echo or delay to audio: ms or BPM-synced time, feedback, wet/dry, ping-pong; export WAV/MP3.Animal Sounds BoardTap 60 animals to hear their sounds, learn a fun fact about each, and play a guess-the-sound quiz.Audio Bit Depth ConverterConvert WAV and FLAC between 8, 16, 24 and 32-bit (float) with TPDF dither and noise shaping.Audio File InfoCheck an audio file's codec, bitrate, sample rate, bit depth, channels, length, tags and peak.Audio Low-Pass and High-Pass FilterApply low-pass, high-pass, band-pass or notch filters to audio and see the response curve live.Audio Compressor and LimiterCompress or limit audio files online: threshold, ratio, attack, release, knee, makeup and a GR meter.M4B to MP3Convert M4B audiobooks to MP3 with tags and cover, or split them into one MP3 per chapter.
    See all 99 Audio Converters & Editors →