Text to MIDI Note Generator
Write note names as a simple sequence, choose a tempo, and download a clean piano MIDI file without uploading anything.
- Runs in your browser
- Note names & rests
- Piano MIDI
Click a note to hear it
Text sequence
Generate MIDI locally
Examples: C4 E4 G4 · F#4:2 lasts 2 beats · Bb3/8 is an eighth note · R inserts a rest.
How it works
Type a sequence
Enter notes such as C4 E4 G4. Use sharps or flats, add R for a rest, and attach :2 or /8 when a note needs a different length.
Choose the tempo
Set a tempo from 30 to 300 BPM. Each note lasts one beat unless you specify a duration.
Generate the file
The browser creates a single-track piano MIDI file and downloads it immediately.
Formats & limits
- Input formats
- Text
- Output
- MIDI
- File limits
- 50 MB · 10 min
- Price
- Free · no sign-up
Text sequence syntax
- Use scientific pitch names: middle C is C4; F#4 and Bb3 are both supported.
- A colon gives duration in beats: C4:2 lasts two beats. Slash notation uses note values: C4/8 is an eighth note.
- Use R, R:2, or R/8 to insert silence without creating a note.
- Separate tokens with spaces or commas; the first invalid token is shown so it can be corrected quickly.
- Each token plays after the previous one finishes — there is no chord syntax for simultaneous notes, so a sequence is always a single melodic line.
Frequently asked questions
Does text to MIDI use AI?
No — and that is a deliberate difference from most other tools on this site. Pages like MP3 to MIDI run a neural pitch-detection model over an audio recording to guess what notes were played, which is inherently probabilistic and sometimes wrong. This tool does the opposite: it takes note names and durations you type explicitly, such as C4 or E4:2, and maps them directly into a MIDI sequence with no inference involved at all. There is nothing for a model to get right or wrong, because the notes are exactly what you typed, parsed with simple deterministic rules entirely in your browser — no audio is analyzed, uploaded, or even present anywhere in this workflow.
Which note names are supported?
Notes A through G are supported across any octave, written in scientific pitch notation such as C4 for middle C, F#5 for F-sharp an octave above, or Bb3 for B-flat below middle C. Both sharps (#) and flats (b) work for any letter name, and the parser accepts them case-insensitively, so c4 and C4 are treated the same. Each token in your sequence must resolve to exactly one of these note names followed by an octave number; anything that does not match this pattern — a typo, a missing octave number, or an unsupported symbol — is flagged as invalid before a file is generated, so you always know exactly which part of your input needs fixing rather than getting a silently wrong result.
Can I add rhythm and rests?
Yes. Every note defaults to a single beat if you don't specify otherwise, but you can attach a duration in two ways: a colon followed by a beat count, such as C4:2 for a note lasting two beats, or a slash followed by a standard note value, such as C4/8 for an eighth note. Silence works the same way using the letter R instead of a pitch — plain R for a one-beat rest, R:2 or R/8 for a longer or shorter one — so you can space out a melody exactly as you would write it on a staff. Mixing note-based and slash-based durations freely within the same sequence is fine; the parser reads each token independently.
What instrument is used?
The generated file always uses General MIDI program 0, acoustic grand piano, regardless of what the notes actually represent musically — there is no instrument picker on this page, since the tool's job is generating correct note data, not choosing a sound. This is a deliberate, simple default rather than a limitation: because MIDI stores notes and timing rather than any fixed sound, changing the instrument afterward is trivial. Open the downloaded file in a DAW, a notation app, or MelodyTrace's own MIDI to MP3 page and reassign it to any instrument, patch, or SoundFont voice you actually want — piano is just the starting point, never the final sound.
Can I type a chord — several notes at once?
Not in a single sequence — every token you type is one note or rest, and it plays only after the previous one finishes, so the output of this tool is always a single melodic line, never simultaneous notes forming a chord. This is a structural property of how the sequence is parsed, not a bug that might be fixed later: there is no syntax for stacking pitches at the same beat. To build harmony or a chord progression, generate each voice as its own separate sequence and export it, then import all of the resulting MIDI files into a DAW and layer them on parallel tracks — the DAW, not this page, is where multiple simultaneous lines actually get combined into one arrangement.
What octave range can I use?
Any pitch that resolves to a valid MIDI note number, meaning an integer from 0 to 127, is accepted, and in scientific pitch notation that works out to roughly C-1 at the bottom of the range through G9 near the top — far wider than any acoustic instrument actually covers, so in practice you will rarely hit the edges unless you are deliberately testing extremes. A note name that falls outside that computed range, or a token that does not match the expected pitch-letter-plus-octave pattern at all, is rejected before any file is generated, and the first invalid token found is shown back to you so you can correct it immediately rather than discovering a silently truncated sequence after downloading.