Skip to content
Agents tracked: 492 Releases (7d): 545 Agent status: 1 with issuesSince last limit reset: Claude 9d · Codex 7d For AI agents: Markdown Updated Nov 20, 2026

jsfxr (sfxr.me)

by Chris McCormick (chr15m)

Retro game sound effects generator (a JavaScript port of sfxr) with a web app and an npm library to generate, play and export 8-bit style sounds as WAV.

Sound effects Code libraryOpen source

GitHub repoWebsite
Six sounds made in the browser from the coin, laser, explosion, power-up, jump and hit presets, drawn as waveforms with their length and WAV size.
Made by AgentGid with jsfxr 1.4.1 (npm tarball, sha1 b379c2d27172cf9579a417319f36c769e325c848). jsfxr is released into the public domain under the Unlicense; the waveforms are drawn by our page from sounds jsfxr generated, with a fixed random seed so the picture repeats. No files from the project are shown.

2. Commercial use: sfxr.me

“Unrestricted commercial use.”

The web app lists unrestricted commercial use and the code is public domain.

sfxr.me

License checked Nov 7, 2026 against 2 official pages. Tap a verdict to see its source. How we checked Report an error

jsfxr: retro 8-bit sound effects for games

jsfxr is a free sound maker for old-school 8-bit game sounds, like a coin pickup, a laser or a jump. You click a sound type in the web app at sfxr.me, tweak it and download a WAV file. Your game can also make the same sounds in code, and you may use them in paid games.

Where you can use it

Sound effects for a small game

Sound effects for a small game

Give coins, shots, explosions and jumps a classic arcade sound in a browser game, made by your game's own code.

The same sound every time

Pick the exact sound you like in the web app, copy its settings and play that one sound in your game, so it never changes.

WAV files for any engine

Make a sound in the web app and download it as a WAV file for Unity, Godot, a video or any tool that plays audio files.

Quick placeholder sounds Idea

Click Random or a sound type a few times and keep what fits, so an early game or app version has sound in minutes.

Feedback sounds in a learning app Idea

Play a soft blip for a right answer and a short buzz for a wrong one in a quiz or a children's app.

jsfxr (sfxr.me) popularity

12 / 100
Gid Score, same scale as developer tools
467
GitHub stars
4,148
npm downloads, last 7 days
-14.0% in 4 weeks
jsfxr (sfxr.me): downloads per weeknpm, jsfxr 4,104
jsfxr (sfxr.me): GitHub starschr15m/jsfxr 467

Downloads from api.npmjs.org, stars from GitHub, checked Nov 19, 2026. How the Gid Score is calculated

How to start

Tell your AI assistant

“Add jsfxr 1.4.1 to the game; for coin, jump, hit and explosion use fixed sounds I picked on sfxr.me (paste their short codes into one sfx file) and play them with sfxr.toAudio only after the first click or key press.”

Show codeStep 2 or Step 3

To make sounds in your game's code, install the package and import it.

npm i jsfxr

import { sfxr } from "jsfxr";

Mistakes to avoid

const sfxr = require("jsfxr") and then sfxr.generate(...)
const sfxr = require("jsfxr").sfxr, or import { sfxr } from "jsfxr"

The package exports an object whose sfxr field holds the API.

Loading sfxr.js with a script tag and then writing const sfxr = ... in your own script
Use the global sfxr namespace the script defines directly

The script already declares sfxr, so a second declaration stops your script with an error (seen in our demo).

Calling sfxr.generate("jump") on every jump and expecting the same sound
Generate once and keep the sound, or paste the serialized settings or short code you picked on sfxr.me

Presets are random each time, so every call sounds a little different.

Rebuilding the sound from its settings on every play in a busy game
Build the sound object once (for example with sfxr.toAudio) and call play() on it many times

Each build renders all samples again; the docs suggest caching the internal sound for efficiency.

License

Unlicense (public domain). Public domain under the Unlicense, so you can use, change and sell it, and the sounds you make with it, with no credit needed. The web app says commercial use is unrestricted.

Commercial use
Yes

“Unrestricted commercial use.” sfxr.me

Credit
Not needed
Inside your app or game
Can ship inside your app
Pass the files on to your users
Allowed

“Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial” LICENSE on GitHub

Monetized YouTube
Allowed
AI training
Not stated
Bots and bulk downloads
Not stated

AllowedWith conditionsNot allowedNot stated or not checked yet

Is jsfxr (sfxr.me) free for commercial use? The full answer Not legal advice. Check the license page before you ship.

For your agent

License rules tell your agent what it may do with jsfxr (sfxr.me). Paste them into your prompt or AGENTS.md.

License rules
- jsfxr (sfxr.me) (Sound effects). Retro game sound effects generator (a JavaScript port of sfxr) with a web app and an npm library to generate, play and export 8-bit style sounds as WAV. Price: free tier; commercial use OK; no credit needed.
  Connect: npm jsfxr.
  Get files: npm i jsfxr, then import {sfxr} from 'jsfxr'; sfxr.generate('pickupCoin') and sfxr.toWave(sound).dataURI, or export WAV from sfxr.me.
  License: https://github.com/chr15m/jsfxr/blob/master/UNLICENSE (checked 2026-11-07; details: https://agentgid.com/assets/jsfxr/)
Can an agent use it by itself?
Yes.

Agent installs a package or loads it from a CDN.

Install
npm install jsfxr
How an agent gets files
npm i jsfxr, then import {sfxr} from 'jsfxr'; sfxr.generate('pickupCoin') and sfxr.toWave(sound).dataURI, or export WAV from sfxr.me.
Repository
API, key or account
Not needed. Everything runs on your side.
MCP server
None found
Credit line, if you want one
Sound effects made with jsfxr (sfxr.me)
This card for machines

Alternatives

jsfxr (sfxr.me) This page

Free tier Commercial OK npm

ZzFX

Pick ZzFX when every byte counts, such as a size-limited game jam; it is under 1 KB compressed and MIT licensed.

Free Commercial OK npm

UI SFX

Pick UI SFX for ready interface sounds as MP3 and Ogg files instead of making retro game sounds yourself.

Free Commercial OK npm

Freesound

Pick Freesound for real recorded sounds such as doors, rain or voices, checking each sound's own license.

Free With conditions API

Cuelume

Fourteen interaction sound cues for web interfaces, synthesized live with Web Audio and bound to elements through data attributes.

Free Commercial OK npm

Tiks

Open-source JavaScript library that synthesizes UI sound effects at runtime with the Web Audio API, with no audio files.

Free Commercial OK npm

All sound effects

Questions

Can I use the sounds in a game I sell?

Yes. The web app lists unrestricted commercial use, and the code is released into the public domain.

Do I have to credit jsfxr?

No. The Unlicense dedicates the code to the public domain and asks for nothing in return.

Which sound types are there?

Coin pickup, laser, explosion, power-up, hit, jump, blip, synth, tone, click and random.

Can I get MP3 or Ogg files?

Only in the paid Pro version; the free app exports WAV.

Can I convert a sound to a file on my own computer?

Yes. The package includes a small sfxr-to-wav script for Node.js that turns a sound's short code into a WAV file.