SoundFont SF2 Viewer, Player and Editor

Load a SoundFont to see every preset with its bank and program number, the instruments and samples behind it and the key ranges. Play any preset with the on-screen keyboard, your computer keys or a MIDI keyboard, rename and renumber presets, delete the ones you do not need and save a smaller SF2 or SF3.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Open the SoundFont

    Drop an .sf2 or .sf3 file; the summary shows presets, instruments, samples and size.

  2. 2
    Pick a preset

    Search the list and select a preset to see its zones, instruments and samples.

  3. 3
    Play it

    Use the on-screen keyboard, the computer keys or a MIDI keyboard, with the velocity slider.

  4. 4
    Edit names and numbers

    Rename the preset and change its bank and program numbers.

  5. 5
    Choose what to keep

    Tick presets to delete or use the melodic or drum bank buttons; edit the INFO text.

  6. 6
    Save

    Press Save to write a smaller SF2 or SF3 with only the material the kept presets use.

About this tool

SoundFonts are sample libraries used by MuseScore, FluidSynth, LMMS, many DAW samplers, retro game music players and hardware synths. A single General MIDI SoundFont can hold hundreds of presets and hundreds of megabytes of samples, and often you only need a piano, a string section or a drum kit from it. This tool reads SF2 files (16-bit, and 24-bit with the sm24 chunk) and SF3 files, the MuseScore variant that stores samples as Ogg Vorbis. The preset list shows bank and program numbers, warns about duplicate numbers and gives the amount of sample data each preset uses. Selecting a preset shows its zones: which instrument covers which keys and velocities, which sample each instrument zone plays, the root key and any other generators such as attack, release, tuning, attenuation and pan. The keyboard plays the selected preset through the Web Audio API with loops, root key, tuning, attenuation, pan and the volume envelope's attack and release applied, so you can hear what you are keeping. In the editor you rename presets (up to 20 characters), change bank and program numbers, mark presets for deletion and edit the INFO text such as name, author, copyright and comment. Saving rebuilds the file and drops every instrument and sample that no remaining preset uses.

Making a smaller SoundFont

Tick the presets to remove, or use Keep only melodic banks or Keep only drum banks, then press Save. The new file keeps only the instruments the remaining presets point to and only the samples those instruments use, with stereo partners kept together. Sample data is copied unchanged, so the sound does not change; only unused material is removed. A 140 MB General MIDI bank trimmed to a few acoustic instruments often ends up under 20 MB.

Playing

Use the keys A, W, S, E, D, F, T, G, Y, H, U, J and K for a chromatic octave, Z and X to change octave, and the velocity slider for dynamics. Use MIDI keyboard asks the browser for Web MIDI access where it is supported, such as Chrome and Edge on a desktop. The line under the keyboard names the samples that sound for each key.

Limits

Playback is a preview, not a full SoundFont synthesizer: filters, modulators, LFOs, the decay and sustain stages and chorus or reverb sends are not applied, so some presets sound brighter or flatter than in FluidSynth. SF3 playback needs a browser that decodes Ogg Vorbis. Editing does not change sample data, loop points or generators, and does not convert between SF2 and SF3. Testing note: the reader and writer were tested with SoundFonts built to the published format, not yet with files from every SoundFont editor, so some files may not open.

Worked example

A teacher downloads a 141 MB General MIDI SoundFont with 189 presets, 1,032 samples and 128 drum kits. The viewer flags two presets sharing bank 0, program 48. The teacher plays Grand Piano across the keyboard, renames it School Piano, keeps String Ensemble, Flute, Acoustic Guitar and the Standard drum kit at bank 128, program 0, and marks the other 184 presets for deletion. Save writes a 23.6 MB SF2 with 5 presets, 11 instruments and 214 samples, which loads in MuseScore on the classroom laptops in a few seconds.

Quick facts

Frequently asked questions

Does deleting presets change how the rest sound?

No. The remaining presets keep the same instruments, generators and sample data. Only instruments and samples that nothing else uses are removed from the file.

Can I play SF3 files?

Yes, if your browser can decode Ogg Vorbis, which current Chrome, Edge, Firefox and Safari do. The samples are decoded when a key is first played.

Why does a preset sound different from my synthesizer?

The preview applies tuning, loops, attenuation, pan and the attack and release of the volume envelope but not filters, modulators or effects. Use it to choose and check presets rather than to judge the final mix.

How do I renumber a preset?

Select it, then change Bank and Program. Bank 128 is used for drum kits in General MIDI players. The list warns when two presets share the same bank and program.

Can I use a MIDI keyboard?

Yes, in browsers with Web MIDI such as Chrome and Edge on a computer. Press Use MIDI keyboard and allow access; note-on and note-off messages from every connected input play the selected preset.

Is my edit saved if I close the page?

The renames, numbers, deletions and INFO text are kept in this browser with undo history, so reopening the same file restores them. The edited SoundFont itself is only written when you press Save.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages