Dev Tools — JSON and CSV, regex, Base64, and hashes in the tab
Dev Tools has five small helpers that run in this tab: flat JSON to CSV and back, a SQL line-break formatter, a JavaScript regex tester, Base64 encode and decode of UTF-8 text, and SHA-1, SHA-256, SHA-384, and SHA-512 hashes through the Web Crypto API. Use it when you need a digest or a quick conversion without pasting text into a stranger’s server form.
Who this is for
- Developers checking a checksum or encoding a string.
Who this is not for
- Password storage design. Hashing a password once in a browser tab is not a full auth system.
- Secret material you should not have on a shared screen.
How to use it
- Paste or type the input. Keep secrets off shared machines.
- Pick the operation. SHA-256 produces a hex digest. Base64 is encoding, not encryption.
- Copy the output. Compare it to the value you expected. A single changed character changes a hash completely.
Limits
- Base64 is reversible. Do not treat it as hiding data.
- Hashing here is for checksums and demos, not for storing user passwords.
The five tabs
JSON / CSV formats or minifies JSON, converts an array of flat objects to CSV, and converts simple CSV back to JSON. Format JSON and Minify JSON check the syntax first and show the parser's error message if the JSON is broken. SQL line-breaks starts a new line before common keywords such as SELECT, FROM, WHERE, and JOIN so a long one-line query is easier to read. It is not a full SQL formatter and does not check syntax.
RegEx Live Tester runs a JavaScript regular expression with the flags you type against your test text and lists every match with its position and capture groups. Base64 encodes and decodes UTF-8 text, so accented letters, Hindi, and emoji round-trip correctly. Hash Generator computes SHA-1, SHA-256, SHA-384, and SHA-512 with the browser's Web Crypto.
When to reach for each tab
Format JSON when an API response arrives as one long line and you need to read it. Minify JSON before storing it somewhere that counts characters. Use JSON to CSV when someone wants to open data in a spreadsheet, and CSV to JSON when a script expects JSON. Use the regex tester to check a pattern against real samples before it goes into code. Use Base64 when a system asks for text in that encoding, and a SHA-256 hash when you need to compare two pieces of text without showing them.
Limits of the CSV converter
CSV to JSON splits each line on commas. Quoted fields that contain commas or line breaks will be split in the wrong place, and every value comes out as text. That is fine for simple exports. For a complex spreadsheet, export JSON from the source program instead.
Tips
- Use Minify JSON before pasting a payload into a URL or a config field with a length limit.
- Regex patterns follow JavaScript syntax. Lookbehind and named groups work in current browsers.
- To compare two hashes, paste both into Text Diff rather than reading 64 characters by eye.
Questions
- Is SHA-256 computed on your server?
- No. The browser Web Crypto API runs it in this tab.
- Can I hash a file?
- This page is built for text. File hashing would need a separate file reader path.
- Does anything I paste leave the browser?
- No. Every tab runs in this page. Still, avoid pasting live passwords or API keys on a shared screen.
- Why is there no MD5?
- Web Crypto does not provide MD5, and MD5 should not be used for security. SHA-256 is the usual choice for checksums.
Related guides
Operator: Souren Das, Bengaluru. Guides: filetoolskit.com/guides. Privacy: Privacy. Support: support@filetoolskit.com.