Debase browser-local Base64 tools
A browser tool for encoding and decoding text and files as Base64, Base64URL, or Data URLs. The data stays on the device.
- Playwright
- Vitest
- SCSS
- Vite
- TypeScript
- React
01 / OVERVIEW
02 / PROBLEM
The utility needed to handle text and binary files locally, reject malformed encoded input clearly, and preview safe output while keeping decoded active content from becoming a browser security risk.
03 / RESPONSIBILITY
I built Debase independently from the interface and transformation logic through validation, safe-output handling, testing, and deployment. I owned the browser-local processing flow and the release documentation.
04 / WORK
I treated privacy and safe output handling as product requirements. The app validates input, limits raw files to 25 MiB, and only previews allowlisted images or bounded plain text.
Built encode and decode flows for standard Base64, unpadded Base64URL, and Base64 Data URLs.
Kept payload text, output, decoded bytes, filenames, MIME details, and file sizes inside the browser.
Added strict validation, a 25 MiB raw-file limit, drag-and-drop, copy, swap, file picking, and downloads.
Limited inline previews to allowlisted raster images and bounded plain text while keeping active content download-only.
Covered the transformation logic and interface with Vitest, Testing Library, and Playwright.
05 / RESULT
Debase is live with a public TypeScript repository and automated unit, component, and end-to-end tests.
The live tool handles common text and file transformations in the browser, so payload data stays on the device.
Clear validation and constrained previews make malformed or potentially active decoded content safer to handle.
The public repository documents the privacy boundary, size limit, deployment path, and verification commands.
Project Reflection