DevToolbox

Text & Code Tools

Format SQL and XML, switch text case, count words and characters, compare texts, and build Markdown tables.

Text manipulation is the quiet workhorse of development. SQL needs consistent indentation before a review; XML benefits from pretty-printing; variable names move between camelCase, snake_case, kebab-case and PascalCase as you cross language boundaries; docs need word and character counts; and diffing two snippets is the fastest way to spot a change. DevToolbox groups these everyday utilities on one page so you never hunt for a separate site. Every tool reads and writes locally, updates live as you type where it makes sense, and never uploads your text.

SQL Formatter

Pretty-print SQL with keywords on their own lines and consistent casing. Makes queries readable before a pull request or a debug session.

Example

SELECT id,name FROM users WHERE active=1

Does it change logic?

No, only whitespace and keyword casing.

XML Formatter

Indent and validate XML so it is human-readable and well-formed. Invalid XML is reported instead of silently mangled.

Example

<note><to>Dev</to></note>

Is it schema-aware?

No, it only checks well-formedness, not a schema.

Text Case Converter

Switch any text between camelCase, snake_case, kebab-case, PascalCase and Title Case in one click.

Example

myVariableName → my_variable_name

How are acronyms handled?

They are treated as ordinary words for predictable output.

camelCase to snake_case

Convert camelCase identifiers to snake_case, the convention used by Python, Ruby and SQL.

Example

userName → user_name

What about digits?

Digits are treated as word boundaries where natural.

kebab-case to camelCase

Turn CSS-style kebab-case into camelCase for JavaScript object keys and variables.

Example

user-name → userName

Why convert?

JS identifiers cannot contain hyphens.

kebab-case to PascalCase

Convert kebab-case into PascalCase, used for React components and C# types.

Example

user-name → UserName

Is the first letter upper?

Yes, PascalCase capitalizes every word.

snake_case to camelCase

Convert snake_case database columns into camelCase for JSON APIs.

Example

created_at → createdAt

Common use?

Mapping ORM fields to API responses.

snake_case to PascalCase

Convert snake_case into PascalCase for class and type names.

Example

order_total → OrderTotal

Where is this used?

Type names in C#, Go and Java-style code.

PascalCase to snake_case

Convert PascalCase type names back to snake_case for database columns.

Example

OrderTotal → order_total

Typical direction?

API models to SQL schemas.

Title Case to kebab-case

Turn a human title into a URL-safe kebab-case slug fragment.

Example

My Great Post → my-great-post

Keeps spaces?

No, spaces become hyphens.

Word Counter

Count words, characters, lines and UTF-8 bytes as you type. Essential for abstracts, meta descriptions and tweets.

Example

The quick brown fox. → 4 words, 19 chars

Are bytes accurate for Unicode?

Yes, it measures real UTF-8 byte length.

Character Counter

Live character count for length-limited fields like SMS, alt text or database varchar limits.

Example

hello → 5 characters

Newlines count?

Yes, they are characters.

Line Counter

Count lines in any text, useful for checking file length or CSV row counts.

Example

a
b
c → 3 lines

Trailing newline?

A final newline does not add an extra line.

Byte Counter

Measure the UTF-8 byte size of text, important for storage limits and network payloads.

Example

héllo → 6 bytes (UTF-8)

Why not character count?

Some characters use 2–4 bytes in UTF-8.

Text Diff Checker

Compare two texts line by line, with additions and deletions highlighted. Faster than eyeballing a change.

Example

Line A
- removed
+ added

Is it character-level?

It is line-level for clarity.

JSON Diff

Compare two JSON objects and list the paths that changed, added or removed.

Example

{ "a": 1 } vs { "a": 2 } → [changed] a

Deep objects?

Yes, it walks nested paths.

Lorem Ipsum Generator

Generate placeholder paragraphs for mockups and layouts without leaving your browser.

Example

Lorem ipsum dolor sit amet...

Is it real Latin?

It is the classic pseudo-Latin filler text.

Markdown Table Generator

Build Markdown tables from comma-separated rows. Great for docs and READMEs.

Example

name,age
dev,3

Pipes escaped?

Cell content is escaped so tables stay valid.

CSV Viewer

Render pasted CSV as an HTML table for a quick visual check before importing.

Example

name,age
dev,3

Large files?

Very large inputs may be slow; trim first.

CSV to Markdown

Convert CSV into a Markdown table, the reverse of the viewer. Perfect for documentation.

Example

name,age
dev,3

Headers used?

The first row becomes the header row.

Markdown to HTML

Convert Markdown into HTML for previews and CMS paste. Supports headings, lists, code and emphasis.

Example

# Title
**bold**

Is it GFM?

A pragmatic subset of CommonMark is supported.

HTML to Markdown

Turn HTML back into Markdown for clean docs. The inverse of the Markdown converter.

Example

<h1>Title</h1>

Complex layouts?

Simple inline and block elements convert best.

Word Count (Paragraph)

A focused word counter for longer prose, counting words and characters of pasted paragraphs.

Example

Write anything here → live count

Same engine as Word Counter?

Yes, it shares the same counting logic.

Character Count (Live)

A live character counter tuned for short strings such as tweets or meta tags.

Example

type → count updates

Updates live?

Yes, as you type.