{
 "slug": "jsfxr",
 "name": "jsfxr (sfxr.me)",
 "author": "Chris McCormick (chr15m)",
 "density": "full",
 "status": "active",
 "status_note": null,
 "alternatives_page": null,
 "one_liner": "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.",
 "category": {
  "slug": "sound-effects",
  "name": "Sound effects"
 },
 "tags": [
  "Code library",
  "Open source"
 ],
 "styles": [],
 "logo_url": "https://agentgid.com/media/avatars/chr15m.png",
 "logo_letter": "J",
 "links": {
  "repo": "https://github.com/chr15m/jsfxr",
  "website": "https://sfxr.me",
  "api_docs": null
 },
 "preview": {
  "kind": "image_grid",
  "src": "https://agentgid.com/assets/jsfxr/demo.jpg",
  "alt": "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.",
  "caption": "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."
 },
 "verdicts": [
  {
   "key": "price",
   "label": "Price",
   "value": "Free tier",
   "status": "info",
   "sub": null,
   "quote": null,
   "note": "Generator, library and WAV export are free; a Pro option adds mp3, ogg, sfxr and zip sound pack export.",
   "source": {
    "label": "sfxr.me",
    "url": "https://sfxr.me"
   },
   "n": 1
  },
  {
   "key": "commercial",
   "label": "Commercial use",
   "value": "Yes",
   "status": "yes",
   "sub": "Unlicense",
   "quote": "Unrestricted commercial use.",
   "note": "The web app lists unrestricted commercial use and the code is public domain.",
   "source": {
    "label": "sfxr.me",
    "url": "https://sfxr.me"
   },
   "n": 2
  },
  {
   "key": "credit",
   "label": "Credit the author",
   "value": "Not needed",
   "status": "yes",
   "sub": null,
   "quote": null,
   "note": null,
   "source": {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/chr15m/jsfxr/blob/master/UNLICENSE"
   },
   "n": 3
  },
  {
   "key": "agent_access",
   "label": "Agent access",
   "value": "npm package",
   "status": "info",
   "sub": "Installs without a key",
   "quote": null,
   "note": "An agent can install it by itself with npm install jsfxr. No key or account is needed.",
   "source": {
    "label": "github.com/chr15m/jsfxr",
    "url": "https://github.com/chr15m/jsfxr"
   },
   "n": 4
  }
 ],
 "license": {
  "name": "Unlicense (public domain)",
  "url": "https://github.com/chr15m/jsfxr/blob/master/UNLICENSE",
  "summary": "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.",
  "pages_read": 2,
  "rules": [],
  "rows": [
   {
    "label": "Commercial use",
    "value": "Yes",
    "status": "yes",
    "quote": "Unrestricted commercial use.",
    "source": {
     "label": "sfxr.me",
     "url": "https://sfxr.me"
    },
    "note": null
   },
   {
    "label": "Credit",
    "value": "Not needed",
    "status": "yes",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Inside your app or game",
    "value": "Can ship inside your app",
    "status": "yes",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Pass the files on to your users",
    "value": "Allowed",
    "status": "yes",
    "quote": "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",
    "source": {
     "label": "LICENSE on GitHub",
     "url": "https://github.com/chr15m/jsfxr/blob/master/UNLICENSE"
    },
    "note": null
   },
   {
    "label": "Monetized YouTube",
    "value": "Allowed",
    "status": "yes",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "AI training",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   },
   {
    "label": "Bots and bulk downloads",
    "value": "Not stated",
    "status": "unknown",
    "quote": null,
    "source": null,
    "note": null
   }
  ],
  "checked_at": "2026-11-07",
  "commercial_use_page": "https://agentgid.com/assets/jsfxr/commercial-use/"
 },
 "overview": {
  "heading": "jsfxr: retro 8-bit sound effects for games",
  "body": "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."
 },
 "uses": [
  {
   "title": "Sound effects for a small game",
   "text": "Give coins, shots, explosions and jumps a classic arcade sound in a browser game, made by your game's own code.",
   "idea": false,
   "image": "https://agentgid.com/assets/jsfxr/demo.jpg"
  },
  {
   "title": "The same sound every time",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "WAV files for any engine",
   "text": "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.",
   "idea": false,
   "image": null
  },
  {
   "title": "Quick placeholder sounds",
   "text": "Click Random or a sound type a few times and keep what fits, so an early game or app version has sound in minutes.",
   "idea": true,
   "image": null
  },
  {
   "title": "Feedback sounds in a learning app",
   "text": "Play a soft blip for a right answer and a short buzz for a wrong one in a quiz or a children's app.",
   "idea": true,
   "image": null
  }
 ],
 "start": {
  "prompt": "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.",
  "install": null,
  "install_note": null,
  "code": [
   {
    "tab": "Step 2",
    "intro": "To make sounds in your game's code, install the package and import it.",
    "source": "npm i jsfxr\n\nimport { sfxr } from \"jsfxr\";"
   },
   {
    "tab": "Step 3",
    "intro": "Generate a sound from a preset, or play a sound you saved from the web app.",
    "source": "const sound = sfxr.generate(\"pickupCoin\");\nsfxr.play(sound);"
   }
  ]
 },
 "mistakes": [
  {
   "dont": "const sfxr = require(\"jsfxr\") and then sfxr.generate(...)",
   "fix": "const sfxr = require(\"jsfxr\").sfxr, or import { sfxr } from \"jsfxr\"",
   "why": "The package exports an object whose sfxr field holds the API.",
   "dont_code": true,
   "fix_code": true
  },
  {
   "dont": "Loading sfxr.js with a script tag and then writing const sfxr = ... in your own script",
   "fix": "Use the global sfxr namespace the script defines directly",
   "why": "The script already declares sfxr, so a second declaration stops your script with an error (seen in our demo).",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Calling sfxr.generate(\"jump\") on every jump and expecting the same sound",
   "fix": "Generate once and keep the sound, or paste the serialized settings or short code you picked on sfxr.me",
   "why": "Presets are random each time, so every call sounds a little different.",
   "dont_code": false,
   "fix_code": false
  },
  {
   "dont": "Rebuilding the sound from its settings on every play in a busy game",
   "fix": "Build the sound object once (for example with sfxr.toAudio) and call play() on it many times",
   "why": "Each build renders all samples again; the docs suggest caching the internal sound for efficiency.",
   "dont_code": false,
   "fix_code": false
  }
 ],
 "agent": {
  "self_serve": true,
  "self_serve_text": "Agent installs a package or loads it from a CDN",
  "install": "npm install jsfxr",
  "repo": "https://github.com/chr15m/jsfxr",
  "api_docs": null,
  "api_account": "Not needed. Everything runs on your side.",
  "get_files": "npm i jsfxr, then import {sfxr} from 'jsfxr'; sfxr.generate('pickupCoin') and sfxr.toWave(sound).dataURI, or export WAV from sfxr.me.",
  "formats": [],
  "limits": null,
  "mcp": null,
  "mcp_url": null,
  "credit_line": "Sound effects made with jsfxr (sfxr.me)",
  "rules_text": "- 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.\n  Connect: npm jsfxr.\n  Get files: npm i jsfxr, then import {sfxr} from 'jsfxr'; sfxr.generate('pickupCoin') and sfxr.toWave(sound).dataURI, or export WAV from sfxr.me.\n  License: https://github.com/chr15m/jsfxr/blob/master/UNLICENSE (checked 2026-11-07; details: https://agentgid.com/assets/jsfxr/)",
  "agent_md": "https://agentgid.com/assets/jsfxr/agent.md",
  "card_json": "https://agentgid.com/assets/jsfxr/card.json"
 },
 "popularity": {
  "gid_score": 12,
  "stars": 467,
  "downloads_7d": 4148,
  "downloads_7d_label": "4,148",
  "downloads_change_4w_pct": -14.0,
  "eco": "npm",
  "package": "jsfxr",
  "repo": "chr15m/jsfxr",
  "agent_projects": null,
  "agent_projects_total": null,
  "downloads_unconfirmed": false,
  "series": {
   "downloads_weekly": [
    [
     "2025-11-17",
     111
    ],
    [
     "2025-11-24",
     184
    ],
    [
     "2025-12-01",
     66
    ],
    [
     "2025-12-08",
     265
    ],
    [
     "2025-12-15",
     128
    ],
    [
     "2025-12-22",
     140
    ],
    [
     "2025-12-29",
     223
    ],
    [
     "2026-01-05",
     180
    ],
    [
     "2026-01-12",
     251
    ],
    [
     "2026-01-19",
     811
    ],
    [
     "2026-01-26",
     1550
    ],
    [
     "2026-02-02",
     504
    ],
    [
     "2026-02-09",
     464
    ],
    [
     "2026-02-16",
     419
    ],
    [
     "2026-02-23",
     360
    ],
    [
     "2026-03-02",
     504
    ],
    [
     "2026-03-09",
     922
    ],
    [
     "2026-03-16",
     1089
    ],
    [
     "2026-03-23",
     3085
    ],
    [
     "2026-03-30",
     3539
    ],
    [
     "2026-04-06",
     2546
    ],
    [
     "2026-04-13",
     1747
    ],
    [
     "2026-04-20",
     1925
    ],
    [
     "2026-04-27",
     688
    ],
    [
     "2026-05-04",
     813
    ],
    [
     "2026-05-11",
     793
    ],
    [
     "2026-05-18",
     531
    ],
    [
     "2026-05-25",
     1435
    ],
    [
     "2026-06-01",
     813
    ],
    [
     "2026-06-08",
     918
    ],
    [
     "2026-06-15",
     878
    ],
    [
     "2026-06-22",
     3108
    ],
    [
     "2026-06-29",
     1511
    ],
    [
     "2026-07-06",
     2965
    ],
    [
     "2026-07-13",
     2576
    ],
    [
     "2026-07-20",
     2018
    ],
    [
     "2026-07-27",
     2707
    ],
    [
     "2026-08-03",
     3268
    ],
    [
     "2026-08-10",
     2536
    ],
    [
     "2026-08-17",
     2220
    ],
    [
     "2026-08-24",
     2837
    ],
    [
     "2026-08-31",
     9587
    ],
    [
     "2026-09-07",
     3339
    ],
    [
     "2026-09-14",
     6031
    ],
    [
     "2026-09-21",
     5060
    ],
    [
     "2026-09-28",
     6841
    ],
    [
     "2026-10-05",
     3171
    ],
    [
     "2026-10-12",
     4046
    ],
    [
     "2026-10-19",
     3010
    ],
    [
     "2026-10-26",
     3736
    ],
    [
     "2026-11-02",
     5592
    ],
    [
     "2026-11-09",
     4104
    ]
   ],
   "stars": [
    [
     "2026-11-07",
     463
    ],
    [
     "2026-11-08",
     464
    ],
    [
     "2026-11-09",
     464
    ],
    [
     "2026-11-10",
     464
    ],
    [
     "2026-11-11",
     464
    ],
    [
     "2026-11-12",
     464
    ],
    [
     "2026-11-13",
     464
    ],
    [
     "2026-11-14",
     467
    ],
    [
     "2026-11-15",
     467
    ],
    [
     "2026-11-16",
     467
    ],
    [
     "2026-11-17",
     467
    ],
    [
     "2026-11-18",
     467
    ],
    [
     "2026-11-19",
     467
    ]
   ]
  },
  "stars_flat_since": null,
  "updated_at": "2026-11-19"
 },
 "alternatives": [
  {
   "slug": "jsfxr",
   "name": "jsfxr (sfxr.me)",
   "why": null,
   "current": true,
   "price": "Free tier",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "zzfx",
   "name": "ZzFX",
   "why": "Pick ZzFX when every byte counts, such as a size-limited game jam; it is under 1 KB compressed and MIT licensed.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "uisfx",
   "name": "UI SFX",
   "why": "Pick UI SFX for ready interface sounds as MP3 and Ogg files instead of making retro game sounds yourself.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "freesound",
   "name": "Freesound",
   "why": "Pick Freesound for real recorded sounds such as doors, rain or voices, checking each sound's own license.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "With conditions",
    "status": "cond"
   },
   "access": "API"
  },
  {
   "slug": "cuelume",
   "name": "Cuelume",
   "why": "Fourteen interaction sound cues for web interfaces, synthesized live with Web Audio and bound to elements through data attributes.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  },
  {
   "slug": "tiks",
   "name": "Tiks",
   "why": "Open-source JavaScript library that synthesizes UI sound effects at runtime with the Web Audio API, with no audio files.",
   "current": false,
   "price": "Free",
   "commercial": {
    "value": "Commercial OK",
    "status": "yes"
   },
   "access": "npm"
  }
 ],
 "faq": [
  {
   "q": "Can I use the sounds in a game I sell?",
   "a": "Yes. The web app lists unrestricted commercial use, and the code is released into the public domain."
  },
  {
   "q": "Do I have to credit jsfxr?",
   "a": "No. The Unlicense dedicates the code to the public domain and asks for nothing in return."
  },
  {
   "q": "Which sound types are there?",
   "a": "Coin pickup, laser, explosion, power-up, hit, jump, blip, synth, tone, click and random."
  },
  {
   "q": "Can I get MP3 or Ogg files?",
   "a": "Only in the paid Pro version; the free app exports WAV."
  },
  {
   "q": "Can I convert a sound to a file on my own computer?",
   "a": "Yes. The package includes a small sfxr-to-wav script for Node.js that turns a sound's short code into a WAV file."
  }
 ],
 "at_a_glance": {
  "latest_version": "1.4.1",
  "last_commit": "2026-05-05",
  "runtime": "A browser for playback (Web Audio); Node.js can render samples and WAV data. The ES module entry is sfxr.mjs, CommonJS is sfxr.js.",
  "key_needed": false
 },
 "good_to_know": [
  "Each call to a preset makes a new random variant of that sound type. Save the settings or the short code of a sound you like to get it back exactly.",
  "The free web app makes unlimited sounds and exports WAV. A paid Pro version adds MP3 and Ogg export, sound packs and cloud save; its price is not shown on the free page.",
  "The free web app says it collects no personal data and has no ads or trackers.",
  "Sounds come out at 44,100 samples per second by default, and the web app also offers 8 or 16 bit and lower rates."
 ],
 "stack_snippets": [],
 "claims": [],
 "checked": {
  "license_read": "2026-11-07",
  "overview_checked": "2026-11-19",
  "numbers_updated": "2026-11-19",
  "sources": [
   {
    "label": "sfxr.me",
    "url": "https://sfxr.me/"
   },
   {
    "label": "pro.sfxr.me",
    "url": "https://pro.sfxr.me/"
   },
   {
    "label": "github.com/chr15m/jsfxr",
    "url": "https://github.com/chr15m/jsfxr"
   },
   {
    "label": "README on GitHub",
    "url": "https://github.com/chr15m/jsfxr/blob/master/README.md"
   },
   {
    "label": "LICENSE on GitHub",
    "url": "https://github.com/chr15m/jsfxr/blob/master/UNLICENSE"
   },
   {
    "label": "npm: jsfxr/latest",
    "url": "https://registry.npmjs.org/jsfxr/latest"
   },
   {
    "label": "npm: jsfxr/-/jsfxr-1.4.1.tgz",
    "url": "https://registry.npmjs.org/jsfxr/-/jsfxr-1.4.1.tgz"
   },
   {
    "label": "sfxr.me",
    "url": "https://sfxr.me"
   }
  ],
  "unverified": "Price of the Pro option is not shown on the page read."
 },
 "user_reports": null,
 "url": "https://agentgid.com/assets/jsfxr/",
 "note": "Written by AgentGid from the official pages in checked.sources; quotes are copied from those pages. status: yes | cond | no | unknown | info. Prices and vendor claims are as reported on the checked date. Not legal advice."
}
