Skip to content

Data Text Formatter

Data Text Formatter applies formatting changes to the texts in your records: lowercase or uppercase, removing accents, trimming extra spaces, or replacing some characters with others. You can apply it to every text field or only to the fields you choose, including fields nested inside others.

It is useful to leave your data clean and consistent before comparing it, searching it or sending it to another system.

When to use it

  • Standardise city or product names written in different ways (“Málaga”, “MALAGA”, ” malaga ”).
  • Prepare codes or references without spaces or accents for a business system.
  • Create readable identifiers from a title, for example summer-offer.
  • Normalise emails or user names to lowercase before looking them up in your CRM.

Configuration

FieldWhat it does
DataThe records or messages you want to transform.
Target KeysFields to transform, separated by commas (for example name, city). Leave it empty to transform every text.
Case ConversionChanges letter case: None (no change, default), lowercase, UPPERCASE or Capitalize (first letter of each word in capitals).
Remove AccentsRemoves accents and similar marks (é→e, ñ→n, ü→u). Enabled by default.
Replace SpacesTurns on space replacement. Off by default.
Replace Spaces WithShown when Replace Spaces is on. Character that replaces each space. Default: -.
Replace CharactersTurns on custom character replacements. Off by default.
Number of ReplacementsShown when Replace Characters is on. How many replacements you want to define, from 1 to 5.
Find / Replace withOne pair per replacement: the text to look for and the text that replaces it. Leave Replace with empty to delete what is found.

Advanced options

FieldWhat it does
Trim WhitespaceRemoves spaces at the start and end of each text. Enabled by default.

Changes are applied in this order: extra spaces, accents, letter case, space replacement and, finally, your own replacements.

Output

The Formatted Data output returns the same records with the transformed texts. Fields that are not text, such as numbers or dates, are left as they are.

Example

You want to build each product’s web address from its name.

  1. Connect the catalogue to Data and enter name in Target Keys.
  2. Choose lowercase in Case Conversion and keep Remove Accents on.
  3. Turn on Replace Spaces with -.
  4. “Camiseta Algodón Azul” becomes camiseta-algodon-azul.