Home › Audio & Video › Online MIDI Editor

Online MIDI Editor

Open a MIDI file or start from scratch and edit it on a piano roll: draw, move and resize notes, shape velocities, set instruments and tempo for each track, quantize sloppy timing, listen with the built-in General MIDI synth and download a standard .mid file.

Last updated:

1.1.000
Velocity

Mouse and keyboard
  • Draw: click an empty spot to add a note, drag right to make it longer.
  • Move: drag a note (up/down changes pitch). Resize: drag its right edge.
  • Delete: double-click or right-click a note, or select and press Delete.
  • Select: Shift-click notes, or use the Select tool and drag a box. Ctrl+A selects the whole track.
  • ↑ ↓ transpose selection (Shift = octave), ← → move by grid.
  • Space play/stop, Ctrl+Z undo, Ctrl+Shift+Z redo, Ctrl+D duplicate, Q quantize, B / V draw / select tool.
  • Click the ruler to move the playhead; click the keyboard to hear a note.
Advertisement
Advertisement

How to use the Online MIDI Editor

  1. Open or create: press Open .mid to load a file, or New for an empty song. A short demo tune is loaded so you can try editing straight away.
  2. Pick a track in the Tracks list and choose its instrument. Notes of the other tracks stay visible in the background.
  3. Draw notes with the Draw tool: click to add a note and drag right to lengthen it. Drag notes to move them and drag the right edge to resize.
  4. Refine: Shift-click or box-select notes, then quantize, duplicate, transpose with the arrow keys or set velocities in the lane below.
  5. Listen with Play (or Space). Click the ruler to start from another bar and tick Loop to repeat the song.
  6. Save with Download MIDI to get a .mid file that opens in any DAW, notation program or keyboard.

Note lengths and the grid

The editor uses 480 ticks per quarter note (PPQ), a common resolution in DAWs. A note's length in seconds is ticks ÷ 480 × 60 ÷ BPM, so at 120 BPM a quarter note lasts 0.5 s.

Grid / lengthTicksPer 4/4 barDuration at 120 BPM
Whole note (1 bar in 4/4)192012.0 s
Half note96021.0 s
Quarter note (1/4)48040.5 s
Eighth note (1/8)24080.25 s
Eighth-note triplet16012≈ 0.167 s
Sixteenth note (1/16)120160.125 s
Sixteenth-note triplet8024≈ 0.083 s
Thirty-second note (1/32)60320.0625 s

General MIDI drum map (channel 10)

NoteDrumNoteDrumNoteDrum
35 (B1)Acoustic bass drum42 (F♯2)Closed hi-hat49 (C♯3)Crash cymbal 1
36 (C2)Bass drum (kick)44 (G♯2)Pedal hi-hat51 (D♯3)Ride cymbal 1
37 (C♯2)Side stick46 (A♯2)Open hi-hat53 (F3)Ride bell
38 (D2)Acoustic snare41 / 43 (F2 / G2)Low floor tom / high floor tom54 (F♯3)Tambourine
39 (D♯2)Hand clap45 / 47 (A2 / B2)Low tom / low-mid tom56 (G♯3)Cowbell
40 (E2)Electric snare48 / 50 (C3 / D3)Hi-mid tom / high tom57 (A3)Crash cymbal 2

Note names here use the convention where middle C (note 60) is C4, which is what the editor's keyboard shows.

Tips for programming realistic parts

  • Vary velocities: accent beats 1 and 3 and play off-beat hi-hats softer, as in the demo drum track.
  • Leave tiny gaps between repeated notes of the same pitch so each one is heard as a new attack.
  • Quantize to the smallest note value you actually used; quantizing triplets to a 1/16 grid will distort them.
  • Use Duplicate on a finished bar to build a full section quickly, then make small changes to keep it musical.

Frequently asked questions

What is a piano roll?

A piano roll shows time from left to right and pitch from bottom to top, with a keyboard at the left edge. Each note is a bar: its left edge is when it starts, its length is how long it lasts and its row is its pitch. It is the standard way DAWs display and edit MIDI.

Can I edit a MIDI file I already have?

Yes. Press Open .mid and choose a Standard MIDI File. Each channel used in each track becomes an editable track with its instrument. Files that change tempo during the song are opened with their first tempo, and the editor tells you when it does this.

What does quantize do?

Quantize moves note starts to the nearest grid line, for example the nearest 1/16 note, which tightens timing that was played slightly early or late. Tick + lengths to round note lengths to the grid too. With no notes selected the whole current track is quantized.

What is MIDI velocity?

Velocity is a number from 1 to 127 that tells an instrument how hard a note was played. Higher values usually sound louder and brighter. Drag the bars in the velocity lane, or select notes and press Set to give them the same velocity.

How do I make a drum track?

Choose Drum kit (channel 10) as the track's instrument. In General MIDI, drums always use channel 10 and each key is a different drum sound, for example 36 is the kick, 38 the snare and 42 the closed hi-hat. The keyboard shows the drum names.

Why does it sound different in my DAW?

A MIDI file stores notes, not sound. The editor plays it with a simple built-in synthesizer, while your DAW, keyboard or phone uses its own instrument sounds for the same General MIDI program numbers, so the notes stay the same but the tone changes.

Is my MIDI file uploaded?

No. Files are read and written entirely in your browser. Your current song is saved only in this browser's local storage so it is still there when you come back.

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

MIDI PlayerPlay MIDI files in your browser with a piano roll, tempo control, track mute and WAV export.MIDI to MP3Render MIDI files to MP3 with General MIDI SoundFont instruments, tempo, transpose and reverb.Online PianoPlay a virtual piano with your mouse, touch or computer keyboard and record a WAV.Drum MachineMake beats with a 16-step drum sequencer, synthesized kits, swing and WAV export.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 ConverterConvert MP3, WAV, M4A, OGG and FLAC to MP3 or WAV in batch, right in your browser.Audio CutterTrim MP3 and audio files, add fades and make ringtones.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.M4A to MP3Convert M4A, AAC and iPhone voice memos to MP3 in batch, privately in your browser.Voice ChangerRecord or upload your voice and make it chipmunk, deep, robot, alien, radio or echo. Save as WAV.Ringtone MakerCut the best 15–40 seconds of any song, add fades and save it as an MP3 ringtone.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.Audio LooperLoop any part of a song seamlessly with a crossfade, repeat it N times or to a length, export.MP3 CompressorMake MP3 files smaller: re-encode at a lower bitrate, mono or sample rate, or fit a target size.MP3 Tag EditorEdit MP3 ID3 tags: title, artist, album, year, genre, track and album art, one file or many.Nightcore MakerSpeed up and pitch up any song into nightcore, add bass boost, save MP3/WAV or a cover video.Slowed and Reverb GeneratorMake slowed + reverb versions of any song: speed, reverb, room size and bass, export MP3/WAV.Stereo to Mono ConverterMix stereo audio to mono, extract the left or right channel, or swap channels. WAV or MP3.Tab Audio RecorderRecord audio from a browser tab or your system, mix in the mic, save WebM, WAV or MP3.WMA to MP3Convert WMA files to MP3 at 128-320 kbps or VBR, keeping tags. Batch convert, no upload.Audio to MIDI ConverterTurn a piano, guitar or voice recording into MIDI notes with AI, preview the piano roll and save a .mid file.Auto-Tune VoicePitch-correct singing to a key and scale, from natural to robotic T-Pain style, with a pitch graph.LUFS MeterMeasure integrated LUFS, true peak and loudness range of a song or video against Spotify and YouTube targets.Online Audio EditorEdit audio in your browser: cut, copy, paste, fade, normalize, effects, markers, undo. Export MP3/WAV.Online Audio MasteringMaster songs automatically to -14 or -9 LUFS with EQ, multiband compression and a true-peak limiter.Podcast Audio EnhancerOne-click voice cleanup: noise reduction, de-ess, EQ, compression and -16 LUFS loudness.Subwoofer Box CalculatorSealed or ported sub box volume, port length for a tuning frequency and a panel cut list.Baby Monitor (Sound Alert)Turn a spare phone or laptop into a sound-activated baby monitor with alerts and a wake-up log.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.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.
See all 99 Audio Converters & Editors →