DEV Community

Leo Ho
Leo Ho

Posted on

10 tiny browser tools built with vanilla JS (no backend, no build step)

I keep shipping small utilities that run entirely in the browser. No bundler, no server, no tracking — just HTML, CSS and a bit of JavaScript. Here is what the set looks like and a few things I learned building them.

What's in the set

Three things I learned

  1. crypto.getRandomValues is the only acceptable source for passwords. Math.random() is predictable and should never touch anything security-adjacent.
  2. Do the parsing client-side. A JSON to CSV conversion is a pure function — sending a file to a server adds latency, cost and a privacy problem for zero benefit.
  3. Rendering results as you type beats a "Calculate" button. Debounce the input by ~150ms and update the output in place; it feels instant and removes a click.

Why no framework

Each page is a few KB of HTML plus one small script. There is no hydration, no client router and no dependency tree to update. A single static file can be deployed to any CDN and will keep working for years.

If you are building something similar, the whole set is live at https://mm-tools-6ln.pages.dev/ — feedback welcome.

Top comments (0)