Skip to content

[Needs confirmation][Tool #44] Preserve acronyms keeps uppercase tokens in lowercase case-conversion outputs #381

Description

@baixiangcpp

Summary

When Preserve acronyms is enabled in Slugify & Case Converter, the lowercase-oriented kebab-case, snake_case, and dot.case outputs retain uppercase acronym tokens. This conflicts with the usual lowercase naming convention and with the same page's lowercase slug-case output.

Affected tool: Slugify & Case Converter
Route: https://byteflow.tools/en/slugify-case-converter
Status: Needs product confirmation; core conversion works, but the behavior is inconsistent with the documented scope and neighboring output.
Observed: 2026-08-18

Reproduction

  1. Open the affected route.
  2. Enter:
Parse JSON API URL v2.0
  1. Enable Preserve acronyms.
  2. Inspect all generated formats.

Actual output

The documented acronym-preserving formats camelCase, PascalCase, and Title Case preserve JSON, API, and URL as expected.

However, the lowercase-oriented outputs also retain the uppercase acronym tokens. One observed output is:

kebab-case: parse-JSON-API-URL-v2-0

The snake_case and dot.case outputs likewise keep the acronym tokens uppercase. At the same time, the slug-case output is lowercase:

slug-case: parse-json-api-url-v2-0

Expected output

The product behavior should be made explicit and consistent. Either:

  1. Preserve acronyms applies only to the formats documented on the page, in which case kebab-case, snake_case, and dot.case should remain lowercase; or
  2. Preserve acronyms intentionally applies to every format, in which case the page documentation and naming expectations for the lowercase-oriented formats should be updated.

If lowercase styles are intended, the expected outputs are equivalent to:

kebab-case: parse-json-api-url-v2-0
snake_case: parse_json_api_url_v2_0
dot.case: parse.json.api.url.v2.0

Impact

Users relying on standard lowercase kebab/snake/dot naming may receive identifiers containing uppercase characters, while similar outputs on the same page use lowercase.

Regression coverage

Test Preserve acronyms on and off with JSON/API/URL tokens, and assert the documented behavior separately for camelCase, PascalCase, Title Case, kebab-case, snake_case, dot.case, and slug-case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions