MIDI Editor Online — Free Browser-Based Piano Roll
MIDI Editor is a free, browser-based tool for editing MIDI files. Open, edit, and export .mid files with a piano roll interface — no download, no sign-up, your files stay 100% on your device. Like GarageBand for MIDI, with multi-track playback, 20+ instruments, and full keyboard shortcuts.
Start Making Music
Open a MIDI file or start a blank project. Your files never leave your browser.
Drop a .mid file anywhere on this page
What is MIDI?
MIDI (Musical Instrument Digital Interface) is a decades-old standard for representing music as a sequence of events rather than recorded audio. Instead of capturing sound waves, a MIDI file records what notes were played, when they started, how long they lasted, and how hard they were hit. This makes MIDI files tiny, perfectly editable, and playable by any synthesizer — from a hardware keyboard in 1985 to a browser in 2026.
A typical MIDI file contains one or more tracks, each carrying a stream of note events, an instrument assignment, a channel number, and optional metadata like tempo and time signature. Because the actual sound is rendered at playback time, the same .mid file can sound completely different on a grand piano synth versus a distorted guitar patch.
Modern use cases for MIDI include composition and arrangement inside a DAW, game music (chiptune, orchestral scores), educational tools, music theory experimentation, AI-generated music prompts, and notation software. If you have ever seen a piano roll scrolling across the screen while a song plays — that is MIDI.
How to Edit MIDI Files Online
- Open a file — click Open MIDI File or drag a
.midfile anywhere on this page. You can also click Create Blank Project to start from nothing. - Pick a track — the left sidebar shows all tracks. Click one to make it active; new notes go into the active track.
- Select a tool — the toolbar gives you Pencil (add notes), Select (multi-select, move, transpose), Eraser (delete), and Velocity (change how loud a note is).
- Draw and edit — click on empty cells to add notes, drag note bodies to move them, drag the right edge to resize. Hold the mouse button to draw a custom-length note.
- Play it back — click the Play button in the transport bar. The first click loads the audio engine and starts playback. Adjust tempo, volume, and loop region while it runs.
- Export — click Export to download the result as a standard
.midfile that any DAW can open.
All editing is fully undoable with Ctrl/Cmd+Z. Your work auto-saves to your browser so you can come back later without losing progress.
MIDI Editor Features
This free MIDI editor runs entirely in your browser and includes everything you need to create, edit, and export MIDI files.
Piano Roll Editor
Draw, move, resize, and delete notes on a visual grid. Click piano keys to preview pitches. Lasso-select groups of notes for batch editing.
Multi-Track Mixing
Work with multiple tracks simultaneously. Mute, solo, pan, and adjust volume per track. Each track can use a different instrument.
Velocity Editing
Control note dynamics from pianissimo to fortissimo. Drag the top or bottom edge of a note to adjust velocity visually. The fill bar inside each note shows the current velocity.
Transpose & Quantize
Transpose selected notes by semitone or octave with arrow keys. Quantize timing to snap notes to the grid for tighter rhythms.
Import & Export .mid
Open any standard MIDI file by drag-and-drop or file picker. Export preserves tempo, time signature, track names, channels, and General MIDI program numbers for full DAW compatibility.
20+ Instruments
Choose from HQ sample-based instruments (Salamander grand piano, orchestral), STUDIO-grade MusyngKite soundfont recordings, or synthesized fallbacks for instant playback.
Who Uses a MIDI Editor?
MIDI editors are used across music production, education, game development, and creative coding.
- Music producers and composers sketch melodies, build chord progressions, and arrange multi-track compositions before committing to a full DAW session.
- Beginners and students learn music theory by visualizing notes on the grid. Seeing intervals, chords, and scales laid out spatially builds intuition faster than notation alone.
- Game developers create adaptive soundtracks and chiptune music. MIDI files are tiny and can be rendered at runtime with different instruments, making them ideal for interactive media.
- Music teachers prepare exercises, demonstrate concepts, and share editable MIDI files with students who can open them in any editor or DAW.
Piano Roll Basics
A piano roll is a grid where horizontal position represents time and vertical position represents pitch. Each note is drawn as a rectangle: its x-position is when the note starts, its y-position is the pitch, its width is the duration, and its opacity reflects the velocity (how hard the key was hit). The column of piano keys on the left is a visual reference — click any key to hear that pitch through the current track's synth.
Pitch (vertical)
128 semitones from C-1 (MIDI 0) to G9 (MIDI 127). Middle C is MIDI 60 = C4. The grid darkens at every octave boundary and on black-key rows so it reads like a real keyboard.
Time (horizontal)
Measured in bars and beats. At 120 BPM a quarter note lasts 0.5 seconds. Bar lines are thicker than beat lines; the ruler above the grid numbers each bar so you can locate a moment in the song.
Velocity
How hard the key was hit, from 0 (silent) to 127 in the MIDI spec, normalized to 0-1 internally. Louder notes render more opaque in the piano roll. Hold Alt and drag a note up/down to adjust its velocity directly.
Tracks & channels
A MIDI file can contain many tracks, each playing a different instrument on a different channel. This editor shows all tracks at once in the roll (dimmed if not active) and lets you mute, solo, pan, and volume-mix them.
MIDI vs Audio Files
| Property | MIDI (.mid) | Audio (.wav, .mp3) |
|---|---|---|
| File size | Tiny (kilobytes) | Large (megabytes) |
| Editability | Per-note, non-destructive | Limited (trim, EQ, effects) |
| Sound source | Synth or sampler at playback time | Baked into file |
| Transposition | Trivial — just shift pitch values | Destructive (pitch-shifting artefacts) |
| Best for | Composition, arrangement, game music | Final delivery, streaming |
Use MIDI while you are composing — it gives you maximum flexibility. Render to audio only at the end for distribution.
Keyboard Shortcuts
Frequently Asked Questions
What is a MIDI file? ▾
A MIDI (Musical Instrument Digital Interface) file stores music as a sequence of notes and events — pitch, start time, duration, velocity — rather than recorded audio. Files are tiny, editable per-note, and playable on any synth.
How do I open a .mid file in the browser? ▾
Click Open MIDI File on the welcome screen, or drop a .mid file anywhere on this page. You can also start a blank project and compose from scratch. Everything happens in your browser — nothing is uploaded.
Can I edit MIDI files for free? ▾
Yes. Completely free, no sign-up, no ads, no usage limits. Full editing: add/move/resize/delete notes, change velocity, multi-track mixing, tempo control, quantize, transpose, undo/redo, export.
What instruments are available? ▾
Poly Synth (default), FM Synth, AM Synth, Mono Synth, Pluck Synth, and Membrane (drums). General MIDI program numbers from imported files are preserved on export so round-trip fidelity is maintained.
Is my MIDI file safe? ▾
Yes. Files never leave your browser — no uploads, no servers, no tracking. Auto-save uses only your browser's localStorage and can be cleared at any time.
Can I export my edits? ▾
Yes. Click Export in the transport bar to download your project as a standard .mid file. Tempo, time signature, track names, channels, GM program numbers, and all note data are preserved.
Does it work offline? ▾
Yes. After the initial page load, the tool runs entirely locally. MIDI parsing uses @tonejs/midi; playback uses Tone.js — both are bundled with the page so there are no external calls.
Why doesn't audio play the first time I click Play? ▾
Browsers require a user gesture before unlocking Web Audio. The Play button handles unlocking, engine load, and start in a single click. After the first press, playback starts instantly.
Related Tools
Mermaid Diagrams
Create flowcharts, sequence diagrams, and more from text.
JSON Formatter
Format, validate, and explore JSON with syntax highlighting.
Token Counter
Count tokens for LLM prompts across 26 models with cost estimates.
Base64 Encode & Decode
Convert text to Base64 and back, fully in your browser.