Skip to main content

Text Tools

Transform, encode, and count your text in 2 clicks

Case converter, Base64 encoder, slug generator, word counter: free utilities that run in your browser to keep your data private.

Case Converter

Switch entire paragraphs to lowercase, UPPERCASE, or Title Case in one click. Perfect for normalizing copied text.

Base64 Encoder

Encode or decode Base64 strings for API payloads, webhooks, secrets, or DNS TXT records.

Slug Generator

Turn any title into a clean, URL-friendly slug for your CMS, API routes, or HTML anchors.

Word Counter

Count words and characters instantly. Verify email subject length or DNS record limits.

Password Generator

Create random passwords or memorable passphrases. Entropy, crack time, and strength displayed in real time.

Hash Generator

Compute MD5, SHA-1, SHA-256 and SHA-512 hashes of any text in one click. Individual copy per algorithm.

URL Encoder / Decoder

Encode or decode text using percent-encoding (RFC 3986). Ideal for query strings, UTM parameters, and redirects.

Regex Tester

Test a regular expression against text and visualize matches, capture groups, and positions. RE2 syntax.

JSON / YAML Formatter

Format, validate, and convert JSON and YAML. Pretty-print, minify, JSON to YAML, and YAML to JSON.

Why use online text tools?

Reformatting text, encoding a payload, creating a slug: recurring tasks that interrupt your workflow. Instead of opening a local editor or writing a script, our tools handle these operations directly in the browser.

Common use cases:

  • Normalize copied text → The case converter transforms ALL CAPS text into clean lowercase
  • Prepare an API secret → The Base64 encoder encodes/decodes credentials before pasting into a .env file
  • Create clean URLs → The slug generator turns "My Blog Article!" into "my-blog-article"
  • Check character limits → The counter validates that your email subject is under 78 characters

How to use the text tools

Step 1: Choose the tool

NeedTool to use
Change case (lowercase, UPPERCASE)Case Converter
Encode/decode Base64Base64 Encoder
Create a URL-friendly slugSlug Generator
Count words and charactersWord Counter
Generate a secure passwordPassword Generator
Compute MD5, SHA-256 hashesHash Generator
Encode/decode a URL (percent-encoding)URL Encoder / Decoder
Test a regular expressionRegex Tester
Format/convert JSON or YAMLJSON / YAML Formatter

Step 2: Paste and transform

Paste your text in the input area. The tool accepts multiple paragraphs and adapts automatically.

Keyboard shortcuts:

  • Mac: ⌘+⏎ to trigger transformation
  • Windows/Linux: Ctrl+⏎ to trigger transformation

Step 3: Copy the result

Results appear instantly. Click "Copy" to use them. No data is retained after the transformation.


Tool details

Case converter

Transform text capitalization in one click:

ModeInputOutput
lowercase"HELLO World""hello world"
UPPERCASE"hello world""HELLO WORLD"
Title Case"hello world""Hello World"
Sentence case"HELLO. WORLD.""Hello. World."

Use case: Normalize text copied from PDFs, emails, or external sources.


Base64 Encoder / Decoder

Convert text to Base64 and back:

OperationInputOutput
Encodecaptaindns.comY2FwdGFpbmRucy5jb20=
DecodeY2FwdGFpbmRucy5jb20=captaindns.com

Common uses:

  • Encode credentials for a .env file
  • Decode a webhook payload for debugging
  • Prepare data for an encoded DNS TXT record

Slug generator

Create clean slugs from any text:

InputOutput
"My Blog Article!"my-blog-article
"Coffee & Tea: 2024 Guide"coffee-tea-2024-guide
"Summer in Paris"summer-in-paris

Transformations applied:

  • Remove accents (é → e, ç → c)
  • Replace spaces with hyphens
  • Convert to lowercase
  • Strip special characters

Word and character counter

Instant text length analysis:

MetricDescription
WordsTotal word count (space-separated)
CharactersTotal characters (including spaces)
Characters (no spaces)Characters excluding spaces
LinesNumber of lines

Use cases:

  • Verify email subject stays under 78 characters
  • Validate DNS TXT records don't exceed 255 characters per string
  • Estimate reading time (~200 words/minute)

Password Generator

Create random passwords or memorable passphrases:

OptionDescription
Length8 to 128 characters, adjustable
Special charactersInclude !@#$%^&* for extra strength
PassphraseRandom words that are easy to remember
EntropyEntropy bits and estimated crack time

Use cases:

  • Create a strong password for a new account
  • Generate an API secret or random token
  • Evaluate existing password strength via the entropy indicator

Hash Generator

Compute cryptographic hashes for any text:

AlgorithmExample output (for "captaindns")
MD5d41d8cd98f00b204e9800998ecf8427e
SHA-1da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA-256e3b0c44298fc1c149afbf4c8996fb924...
SHA-512cf83e1357eefb8bdf1542850d66d8007...

Use cases:

  • Verify file or text integrity
  • Generate a hash for password storage (educational use)
  • Compare MD5/SHA-256 hashes for download verification

URL Encoder / Decoder

Encode or decode text using percent-encoding (RFC 3986):

OperationInputOutput
Encodehello world&foo=barhello%20world%26foo%3Dbar
Decodehello%20world%26foo%3Dbarhello world&foo=bar

Use cases:

  • Encode query string parameters before passing them in a URL
  • Decode encoded URLs for debugging
  • Prepare UTM parameters or redirects

Regex Tester

Test a regular expression against text and visualize results:

FeatureDescription
MatchesHighlighted matches in the text
Capture groupsDetail of each captured group
PositionsStart and end index of each match
RE2 syntaxCompatible with Go, Rust, and Google RE2

Use cases:

  • Validate a pattern before integrating it into code
  • Debug a regex that doesn't match as expected
  • Learn regular expression syntax with visual feedback

JSON / YAML Formatter

Format and convert JSON and YAML in one click:

OperationInputOutput
Format JSONCompact or poorly indented JSONIndented JSON (2 or 4 spaces) or minified
JSON → YAMLValid JSONFormatted YAML
YAML → JSONValid YAMLIndented JSON
Format YAMLYAML with inconsistent indentationNormalized YAML

Use cases:

  • Pretty-print a minified JSON payload for debugging
  • Convert a JSON config to YAML for Kubernetes or Docker Compose
  • Validate JSON or YAML document syntax

FAQ - Frequently asked questions

Q: Are the text tools free?

A: Yes, 100% free with no signup. No usage limits.


Q: Is my data stored?

A: No. Transformations run in your browser (case converter, counter) or via API without permanent storage (Base64). Your text stays private.


Q: What's the maximum text size?

A: The case converter and counter accept up to 100,000 characters (~15-20 pages). The Base64 encoder supports up to 50KB of data.


Q: How does the slug generator work?

A: The generator applies these transformations in order:

  1. Remove accents (transliteration)
  2. Convert to lowercase
  3. Replace spaces with hyphens
  4. Strip special characters
  5. Clean up multiple hyphens

Q: Can I use these tools for DNS records?

A: Yes. The Base64 encoder is useful for encoded TXT records. The counter helps verify the 255-character limit per TXT string (a record can contain multiple strings).


Q: Do keyboard shortcuts work?

A: Yes. ⌘+⏎ (Mac) or Ctrl+⏎ (Windows/Linux) triggers the transformation without leaving the keyboard.


Complementary tools

ToolPurpose
DNS LookupQuery DNS records for a domain
Propagation TestCheck worldwide DNS propagation
SPF InspectorValidate your SPF record
DKIM InspectorVerify your DKIM signature
CSR ParserAnalyze a certificate signing request

Useful resources