dev101.io

Text Tools

Diff, case convert, slugify, sort, count, Lorem ipsum, Markdown preview, CSV to JSON — everyday string manipulation in your browser.

10 tools in this category

Text tools are the daily-drivers of programming: comparing two files, normalizing case before a rename, counting tokens in a prompt, sorting a config alphabetically. Each of these utilities is a one-screen operation done the wrong way a dozen times before you cache the right shortcut. These tools give you the one-screen operation directly, with keyboard shortcuts and shareable URLs.

Choosing the right diff

Text Diff does character-level or line-level comparison of arbitrary strings — use it for logs, config files, and prose. JSON Diff (in the JSON category) understands object structure so key-order changes do not show up as noise. If you need to diff two schemas, pick JSON Diff; for everything else, Text Diff is the tool.

Case conversion cheat sheet

camelCase for JS/TS variables. PascalCase for classes and React components. snake_case for Python and database columns. SCREAMING_SNAKE_CASE for constants. kebab-case for URLs, CSS class names, and npm packages. dot.case for config keys. Our Case Convert tool handles all seven and round-trips cleanly — converting HTTPServerAPI to snake gives you http_server_api (smart acronym splitting).

Slugs and URLs

The Slugify tool produces URL-safe slugs by transliterating accents, lowercasing, and collapsing whitespace to hyphens. It follows the conventions used by GitHub anchors, Jekyll posts, and Next.js dynamic routes. If you are building a CMS, use this to preview what your article's URL will look like before committing the title.

Frequently asked questions

Does Slugify handle non-Latin scripts?

It transliterates common European accents (é→e, ü→u, etc.) and strips everything else. For full CJK or Cyrillic transliteration you want a dedicated library; our tool is optimized for the 95% English/European case.

Can I diff two very large text blobs?

Text Diff runs entirely in the browser. Up to about 1 MB per side is comfortable; beyond that you'll feel the layout calculation lag. For multi-MB diffs, use `git diff --no-index` or `diff -u` on the CLI.

What Markdown flavor does the preview use?

GitHub-flavored Markdown (GFM): fenced code blocks, tables, task lists, and autolinks. Frontmatter is stripped. Raw HTML is sanitized, so you cannot inject scripts.

Can I pipe input from the terminal?

Not directly in the browser. But you can copy with `pbcopy` (macOS) or `xclip` (Linux) and paste — every tool restores state from the URL, so you can also bookmark transformations.

Related categories