Frequently Asked Questions
Everything you need to know about CodeMash.
General
What is CodeMash?
CodeMash is a free suite of 25+ online developer tools including a JSON formatter, XML to JSON converter, Base64 encoder/decoder, JWT decoder, SQL formatter, CSV converter, hash generator, diff checker, and more. All tools run in your browser for maximum speed and privacy.
Do I need to create an account?
No. All tools work without sign-up, registration, or login. Just open any tool and start using it right away — completely free.
Is CodeMash really free?
Yes! All 25+ tools are completely free with no usage limits, no premium tiers, and no hidden fees. We sustain the site through non-intrusive advertising.
How is CodeMash different from other online tools?
CodeMash processes everything in your browser (client-side JavaScript). Unlike most alternatives, your data is never sent to any server. This means faster results, complete privacy, and no file size restrictions imposed by server upload limits.
Privacy & Security
Is my data safe?
Absolutely. All tools (except Pug compilation) run entirely in your browser — your data never leaves your device. For Pug tools that require server-side processing, data is processed in memory and immediately discarded. We never store, log, or share your data.
Do you use cookies or tracking?
We use minimal analytics (Google Analytics) to understand which tools are popular. We do not use tracking cookies for advertising purposes. You can opt out at any time.
Is it safe to paste JWT tokens, API keys, or sensitive data?
Yes. JWT decoding, Base64 encoding, hashing, and all other processing happens entirely in your browser. Nothing is sent to our servers. That said, we always recommend caution with production secrets.
Converters
What data formats can I convert between?
We support XML ↔ JSON, YAML ↔ JSON, JSON ↔ CSV, HTML ↔ Pug (Jade), HTML ↔ Markdown, JSON → ION, JSON → JSON Schema, JSON → TypeScript interfaces, JSON → Go structs, and Text → JSON. We are constantly adding new converters.
How do I convert JSON to CSV?
Open the JSON to CSV converter, paste your JSON array of objects, and click Convert. The tool automatically detects column headers from object keys and generates properly formatted CSV output that works in Excel and Google Sheets.
How do I generate TypeScript interfaces from JSON?
Use our JSON to TypeScript converter. Paste a sample JSON response (e.g., from an API) and the tool generates TypeScript interfaces with proper types, including nested objects and arrays.
Can I convert Kubernetes YAML to JSON?
Yes. Our YAML to JSON converter supports all YAML 1.2 features including anchors, aliases, and multi-document files. It handles complex Kubernetes, Docker Compose, and CI/CD configuration files.
Formatters
What code languages can I format?
We support formatting for JSON, XML, HTML, CSS, JavaScript, and SQL. Each formatter offers customizable indentation (2 or 4 spaces) and both beautify and minify modes.
Does the JSON formatter also validate JSON?
Yes. Our JSON formatter simultaneously validates your JSON syntax. If your JSON is invalid, it provides clear error messages to help you fix issues. It works as both a JSON beautifier and JSON validator.
Which SQL dialects does the SQL formatter support?
Our SQL formatter supports standard SQL, MySQL, PostgreSQL, SQL Server, Oracle, MariaDB, and SQLite. It automatically uppercases keywords (SELECT, FROM, WHERE) for readability.
Encoders, Decoders & Utilities
How do I decode Base64 online?
Open the Base64 tool, paste your Base64-encoded string, and click Decode. The tool instantly converts it to readable text. Encoding works the same way in reverse. Full UTF-8 and Unicode support.
What hash algorithms are supported?
Our hash generator computes SHA-256, SHA-1, and SHA-512 hashes simultaneously from any text input. It uses the Web Crypto API built into your browser for maximum security.
Can I convert hex to decimal or binary?
Yes. Our number base converter handles decimal, hexadecimal (hex), binary, and octal. Use prefixes: 0x for hex, 0b for binary, 0o for octal. Supports arbitrarily large numbers.
What is the maximum input size?
There is no hard limit since processing happens in your browser. Performance depends on your device, but most tools handle inputs of 1MB+ without issues.
Do you have keyboard shortcuts?
Yes! Press Ctrl+Enter (Cmd+Enter on Mac) to convert/format. The code editors support standard editing shortcuts like Ctrl+A, Ctrl+Z, Ctrl+C/V, and more.
Technical
Can I use these tools offline?
Client-side tools work after the initial page load, even with a spotty connection. Full offline support via PWA is on our roadmap.
Do you offer an API?
We are working on public API access. Contact us if you are interested in integrating CodeMash tools into your workflow.
Can I embed these tools in my website?
We are working on embeddable widgets. Contact us if you are interested in early access.
Still have questions?
We are here to help. Reach out and we will get back to you as soon as possible.
Contact Us