[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › [Type](https://evolu.dev/docs/api-reference/common/Type) › kebabCaseToSnakeCase

```ts
function kebabCaseToSnakeCase(
  value: string & Brand<"KebabCaseIdentifier">,
): string & Brand<"SnakeCaseIdentifier">;
```

Defined in: [packages/common/src/Type.ts:5975](https://github.com/evoluhq/evolu/blob/ecbac001e0c18bbc45b44715f49ecc3a768c5ec9/packages/common/src/Type.ts#L5975)

Converts a [KebabCaseIdentifier](https://evolu.dev/docs/api-reference/common/Type/variables/KebabCaseIdentifier) to a [SnakeCaseIdentifier](https://evolu.dev/docs/api-reference/common/Type/variables/SnakeCaseIdentifier).

Converts `http2-port` to `http2_port`. Use [snakeCaseToKebabCase](https://evolu.dev/docs/api-reference/common/Type/functions/snakeCaseToKebabCase) to
recover the original spelling.