Most developer chores are small: pretty-print a response, decode a token, check what a cron line means, work out a subnet. They are too small to install something for, and too fiddly to do in your head. stackbite collects 27 of them in one place, each on its own page with an explanation of the format or algorithm it works on, worked examples and the equivalent code in other languages.
Alongside the tools are reference sections for the questions that come up while using them: Unix time in a dozen languages, cron schedules, regular expressions for common formats, HTTP status codes one by one and chmod modes.
How the tools work
Every tool is plain JavaScript that runs in your browser tab. It uses the same building blocks your own code would: JSON.parse, the Web Crypto API, the URL parser, BigInt and the browser's regular expression engine. Three tools use well-known open-source libraries, loaded from cdnjs with an integrity check: js-yaml for YAML, qrcode-generator for QR codes, and marked with DOMPurify for Markdown.
Nothing you type leaves your browser
Nothing you type, paste or drop into a tool is sent to us or to anyone else: there is no server-side part to any tool. You do not have to take our word for it:
- Open a tool page and then your browser's developer tools (F12, or Cmd+Option+I on a Mac) and choose the Network tab.
- Clear the list, then use the tool: paste some JSON, decode a token, convert a timestamp.
- No new request appears while you work. The requests you see when the page first loads are the page itself, its stylesheet and script, the statistics and ads described below, and on three pages the library file.
You can go further and switch the browser to offline mode in the same tab once the page has loaded: every tool keeps working. All of the tools' code is in one readable file, app.js.
How the guides are checked
Code examples that can run on our build machine (JavaScript, Python, shell, PowerShell, C# and SQLite) are kept as files and run before each update, and the output shown on a page is compared with what the code really prints. Tables such as the notable timestamps, the example run times on the cron pages and the permission tables on the chmod pages are computed when the site is built, not typed. On the regex examples, every example string is run against its pattern during the build, and a wrong one stops the build. Examples for languages we cannot run here, such as Go, Java and Rust, are checked against their official documentation, and the page says so. Facts such as status-code meanings are checked against the specification that defines them, which each page links to.
That still leaves room for mistakes. If you find one, please tell us.
How it is paid for
The site shows ads from Google AdSense. They pay for the domain and hosting and keep the tools free without accounts. We also count page views with a small cookie-free script, so we know which tools are used and which pages need work. Both are explained on the privacy page.
Bugs and ideas
If a tool gives a wrong result or a guide is wrong, please tell us at hello@stackbite.com. Include the page address, the input you used (or a small example that shows the same problem, if the real data is private), what you expected and what you got, and your browser. Suggestions for new tools and guides are welcome too. Fixes and additions are listed in the changelog.
stackbite is an independent site.