Skip to main content

$toLower

The $toLower operator converts a string to lowercase.

Input

  • A single string value

Output

  • The input string with all characters converted to lowercase

Examples

Basic Conversion

{
  "$toLower": [
    "Hello, World!"
  ]
}
Result: "hello, world!"

Field Value

{
  "$toLower": [
    {
      "$input": "EMAIL"
    }
  ]
}
Result: The EMAIL field converted to lowercase