Code & Text Tools

Code & Text Tools

Work with text and code more efficiently using these free browser-based tools. Test and debug regular expressions with real-time pattern matching and capture group highlighting, compare two texts side by side with a visual diff checker, write and preview markdown with live HTML output, convert strings between camelCase, snake_case, kebab-case and other naming conventions, translate complex regex patterns into plain English, and escape or unescape strings for JSON, HTML, JavaScript and more — all running entirely client-side with no server calls and no signup required.

6 Code & Text Tools

.*
Regex Tester & Debugger
Test regular expressions with real-time matching and capture group highlighting.
Popular
±
Text Diff Checker
Compare two texts side by side. Highlights additions, deletions and changes.
MD
Markdown Editor & Preview
Write markdown with live preview. Convert to HTML. GFM tables and code blocks.
?=
Regex Explainer
Translate regular expressions to plain English. Color-coded token breakdown.
Aa
String Case Converter
Convert between camelCase, snake_case, kebab-case, PascalCase and 8 more formats.
\\
String Escape & Unescape
Escape and unescape strings for JSON, HTML, JavaScript, URL, CSV and SQL.

Frequently Asked Questions

Use the Regex Tester & Debugger to paste your pattern and test string, then see matches highlighted in real time. The tool displays each match, capture group, and index position instantly — no code, no compilation, no server round-trips. You can toggle flags like global, case-insensitive, and multiline to experiment with different matching behaviors. If a pattern is too complex to read, the Regex Explainer breaks it into color-coded tokens with plain-English descriptions so you can understand exactly what each part does.
The String Case Converter supports over ten common naming conventions used in software development, including camelCase, PascalCase, snake_case, SCREAMING_SNAKE_CASE, kebab-case, dot.case, Title Case, UPPERCASE, lowercase, and more. Simply paste your identifier or sentence and the tool instantly generates every format, making it easy to switch between coding styles when moving between languages or frameworks — for example, converting a JavaScript camelCase variable name to a Python snake_case equivalent.
String escaping is necessary whenever you embed user input or special characters inside a structured format. For example, JSON requires backslash escaping for quotes and control characters, HTML requires entity encoding for angle brackets and ampersands to prevent XSS, and SQL uses escaping to guard against injection attacks. The String Escape & Unescape tool handles all of these formats — paste your raw string, select the target format (JSON, HTML, JavaScript, URL, CSV, or SQL), and get a correctly escaped result you can safely embed in your code or data.

Other Categories