Code Snippets Repository

Save and organize reusable code snippets.

snippetsproductivitydeveloper

Category: Code & Developer Tools

Coming Soon

This tool is on the roadmap. Check back soon, or explore related tools below.

Tips

Quick guidance for using our tools safely and effectively.

Privacy

Files are processed on the server for conversion only and are not used for training or shared with third parties.

Best results

Use the formats suggested in each tool. Large media files may take longer — keep the tab open until processing finishes.

Need something else?

Browse related tools below or explore other categories from the main Dev Tools hub.

Related tools

More utilities in the same category.

Regex Tester

New

Test JavaScript-style regular expressions in your browser: enter a pattern, toggle global (g), case-insensitive (i), and multiline (m), paste sample text, and see highlighted matches with start indexes. Invalid patterns show a clear error. No signup; your strings stay on your device.

regexdeveloper+1

Base64 Encoder / Decoder

New

Encode plain UTF-8 text to Base64 or decode Base64 back to text in your browser (whitespace ignored when decoding). Swap encode/decode, copy the result, or upload a file in encode mode to extract the raw Base64 payload from a data URL. Convert runs client-side only.

encodingdeveloper+1

JSON Formatter & Validator

New

Pretty-print, minify, and validate JSON payloads.

jsonformatter+1

JSON Compare

New

Compare two JSON documents semantically — skip keys, optional array sorting, JSON paths, and side-by-side mismatch diffs. Runs entirely in your browser.

jsondiff+2

Text Diff Tool

New

Paste an original and a modified version, then Compare to see a unified diff: line-by-line with +/- prefixes and optional line counts, or word-by-word with highlights. Copy the plain-text diff, switch views anytime, or Clear. Uses the diff library in your browser — nothing is uploaded.

diffgit+1

SQL Formatter

New

Beautify SQL in your browser with the sql-formatter library: choose a dialect (PostgreSQL, MySQL, SQLite, BigQuery, and more), keyword case (upper, lower, preserve), and indentation (2 spaces, 4 spaces, or tab). Format, copy, or download query.sql. Identifiers and function names stay as typed unless you change keyword casing.

sqldatabase+1