Skip to main content
SyntixDev

Case, Slug & Word Counter

Data, Regex & Text

Live Regex tester with presets, side-by-side Diff checker, case/slug tools, and GFM Markdown builder.

100% client-side — files and inputs never leave your browser.

Chars74
Words11
Lines3
UTF-8 Bytes74
camelCasesyntixDevApiGatewayV2SyntixDevApiGatewayV2PrivacidadeNoNavegador
PascalCaseSyntixDevApiGatewayV2SyntixDevApiGatewayV2PrivacidadeNoNavegador
snake_casesyntix_dev_api_gateway_v2_syntix_dev_api_gateway_v2_privacidade_no_navegador
kebab-casesyntix-dev-api-gateway-v2-syntix-dev-api-gateway-v2-privacidade-no-navegador
CONSTANT_CASESYNTIX_DEV_API_GATEWAY_V2_SYNTIX_DEV_API_GATEWAY_V2_PRIVACIDADE_NO_NAVEGADOR
URL Slug (accent-safe)syntix-dev-api-gateway-v2-syntix-dev-api-gateway-v2-privacidade-no-navegador
About this tool and how it works

Case conversion, slugs, and text statistics

Paste any phrase and get every common naming convention at once, plus counts of characters, UTF-8 bytes, words, and lines. A second mode removes duplicate lines from lists.

Naming conventions and where they are used

  • camelCase — JavaScript/TypeScript variables and JSON keys.
  • PascalCase — classes, React components, TypeScript types.
  • snake_case — Python, Ruby, SQL columns.
  • kebab-case — CSS classes, file names, CLI flags.
  • CONSTANT_CASE — environment variables and constants.
  • slug — URL paths: lowercase, hyphen-separated, accents removed.

Example: Relatório de Vendas 2026 becomes relatorioDeVendas2026, relatorio_de_vendas_2026, and the slug relatorio-de-vendas-2026.

Characters vs bytes

Many limits are measured in bytes, not characters: database VARCHAR columns in some engines, SMS segments, HTTP header sizes, and API payload caps. An emoji is 1–2 JavaScript characters but 4 UTF-8 bytes; an accented letter is 1 character but 2 bytes. Check the byte count before you hit a truncation bug.

Removing duplicate lines

Paste a list of emails, IDs, or log lines and keep the first occurrence of each, preserving the original order. Enable trimming to treat "abc " and "abc" as the same line. The tool reports how many duplicates were removed. Combined with the case converter, it is a quick way to clean up column names or tag lists copied from a spreadsheet before importing them into code.

Frequently asked questions

How are accents handled in slugs?

Accented letters are converted to their base letter (é → e, ç → c) and punctuation is replaced with hyphens, producing URL-safe ASCII slugs.

How does the word counter define a word?

Any run of non-whitespace characters separated by spaces, tabs, or line breaks counts as one word, which matches most editors.

Does deduplication change the order of lines?

No. The first occurrence of each line is kept in its original position; later repeats are removed.

Other tools