Complete Normalization Rules Reference

Detailed reference for all available normalization rules with examples.

General

Basic text transformations for cleaning data.

noneNone (keep as is)

Pass through the value unchanged. No transformation applied.

Before
Hello World
Some Text
any value
After
Hello World
Some Text
any value

Use when data is already clean or should not be modified.

text_trimTrim Whitespace

Remove leading/trailing whitespace, collapse multiple spaces, and decode HTML entities.

Before
Hello World
Multiple Spaces
Nuts & Bolts
trim me
After
Hello World
Multiple Spaces
Nuts & Bolts
trim me

Also decodes HTML entities: & → &, < → <, > → >, " → quote, ' → apostrophe.

text_cleanClean Text

Remove emojis, special Unicode characters, and normalize for API/JSON safety.

Before
Hello! How are you?
Great job!
Check this out
After
Hello How are you
Great job
Check this out

Removes emojis, control characters, and non-ASCII symbols.

Contact Info

Normalize contact information like emails, phones, and URLs.

email_lowercaseEmail (Lowercase)

Validate email format and convert to lowercase. Invalid emails are marked as errors.

Before
John@GMAIL.COM
JANE@Example.com
invalid-email
bob@test
After
john@gmail.com
jane@example.com
(invalid)
(invalid - missing domain)

Validates format: must have @ and valid domain with TLD.

phone_e164Phone (E.164)

Convert phone numbers to international E.164 format (+15551234567). Auto-detects country from location field if available.

Before
(555) 123-4567
555.123.4567
1-555-123-4567
+44 20 7123 4567
After
+15551234567
+15551234567
+15551234567
+442071234567

Uses location field in your data (city, state, country) to determine country code. Defaults to US if not detected.

url_httpsURL (HTTPS)

Ensure URLs have https:// protocol. Validates URL structure.

Before
example.com
www.example.com
http://example.com
HTTPS://EXAMPLE.COM/
After
https://example.com
https://www.example.com
https://example.com
https://example.com

Removes trailing slashes, lowercases domain. Invalid URLs (missing TLD, malformed) marked as errors.

Data Types

Transform and validate various data types.

price_decimalPrice (Decimal)

Extract numeric value from prices. Handles currency symbols, commas, and words.

Before
$19.99
$1,234.56
19.99
€15,50
After
19.99
1234.56
19.99
15.50

Returns just the decimal number without currency symbol.

price_with_currencyPrice + Currency

Format price with ISO currency code (e.g., 19.99 USD).

Before
$19.99
20 dollars
fifty euros
£25.00
After
19.99 USD
20.00 USD
50.00 EUR
25.00 GBP

Detects currency from symbols ($, €, £, ¥) or words (dollars, euros, pounds, yen).

date_isoDate (ISO)

Convert various date formats to ISO 8601 (YYYY-MM-DD).

Before
01/15/2026
January 15, 2026
15-01-2026
2026/01/15
15 Jan 2026
After
2026-01-15
2026-01-15
2026-01-15
2026-01-15
2026-01-15

Handles US (MM/DD/YYYY), European (DD-MM-YYYY), and text formats.

boolean_standardBoolean

Convert truthy/falsy values to standardized TRUE/FALSE. Supports inventory status terms.

Before
yes
no
1
0
true
false
available
out of stock
In Stock
sold out
After
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE
TRUE
FALSE

Also accepts: Y/N, on/off, active/inactive, enabled/disabled, available/unavailable, in stock/out of stock, sold out.

number_words_to_digitsWords to Numbers

Convert number words to digits.

Before
twenty
one hundred
fifty-five
two thousand
After
20
100
55
2000

Handles compound numbers like 'twenty-five' = 25.

location_city_stateLocation

Format location as 'City, ST' with proper capitalization and state abbreviation.

Before
austin, texas
AUSTIN TX
new york city, new york
los angeles
After
Austin, TX
Austin, TX
New York City, NY
Los Angeles

Expands state abbreviations, handles common city aliases.

SEO & Text

Transform text for SEO, content management, and display purposes.

seo_title_caseTitle Case

Convert to Title Case (capitalize first letter of each word).

Before
hello world example
THE QUICK BROWN FOX
mixed CASE text
After
Hello World Example
The Quick Brown Fox
Mixed Case Text

Smart handling of articles (a, an, the) and prepositions.

seo_sentence_caseSentence Case

Convert to sentence case (capitalize first letter only).

Before
HELLO WORLD EXAMPLE
mixed CASE Text
all lowercase
After
Hello world example
Mixed case text
All lowercase
seo_uppercaseUPPERCASE

Convert entire text to uppercase.

Before
Hello World
mixed CASE
lowercase
After
HELLO WORLD
MIXED CASE
LOWERCASE
seo_lowercaselowercase

Convert entire text to lowercase.

Before
Hello World
MIXED CASE
UPPERCASE
After
hello world
mixed case
uppercase
seo_slugURL Slug

Convert to URL-friendly slug format (lowercase, hyphens).

Before
Hello World!
Product Name (2024)
What's New?
After
hello-world
product-name-2024
whats-new

Removes special characters, replaces spaces with hyphens.

seo_meta_titleMeta Title (60 chars)

Truncate text to 60 characters for SEO meta titles.

Before
This Is A Very Long Title That Exceeds The Recommended Sixty Character Limit For Meta Titles
After
This Is A Very Long Title That Exceeds The Recommended...

Truncates at word boundary, adds ellipsis if truncated.

seo_meta_descriptionMeta Description (160 chars)

Truncate text to 160 characters for meta descriptions.

Before
This is a very long description that goes well beyond the recommended one hundred sixty character limit for meta descriptions used in search engine results.
After
This is a very long description that goes well beyond the recommended one hundred sixty character limit for meta descriptions...

Truncates at word boundary, adds ellipsis if truncated.

seo_strip_htmlStrip HTML

Remove all HTML tags, keeping only text content.

Before
<p>Hello <b>World</b></p>
<div class="test">Content</div>
&nbsp;text&amp;more
After
Hello World
Content
text&more

Also decodes HTML entities.

seo_remove_special_charsRemove Special Chars

Remove special characters, keeping only letters, numbers, and spaces.

Before
Hello! How are you?
Price: $99.99
test@example.com
After
Hello How are you
Price 9999
testexamplecom
seo_json_safeJSON Safe

Clean text for safe JSON/API output. Removes emojis, special Unicode, control characters.

Before
Hello! Great job!
Test with symbols
Café & résumé
After
Hello Great job
Test with symbols
Caf rsum

Use for API responses and JSON exports to prevent encoding issues.

Google Ads

Format text for Google Ads character limits.

ppc_headline_30Headline (30 chars)

Truncate to 30 characters for Google Ads headlines. Cuts at word boundary.

Before
Buy Premium Quality Products Now!
Limited Time Offer - Save Big Today
After
Buy Premium Quality Products
Limited Time Offer - Save Big

Returns error if first word exceeds 30 chars (no mid-word cuts).

ppc_description_90Description (90 chars)

Truncate to 90 characters for Google Ads descriptions. Cuts at word boundary.

Before
Experience the best quality products at unbeatable prices. Shop now and save on your favorite items with free shipping on orders over fifty dollars.
After
Experience the best quality products at unbeatable prices. Shop now and save on your...

Returns error if first word exceeds 90 chars.

ppc_keyword_cleanKeyword Clean

Clean keywords for PPC campaigns. Lowercase, remove special chars.

Before
Buy NOW!!! Best Price $$$
Premium Products™ - Limited!
[Brand Name] Shoes
After
buy now best price
premium products limited
brand name shoes

Ideal for keyword lists and negative keywords.

Commerce

Normalize product data: SKUs, barcodes, ISBNs, currencies, and ratings.

sku_uppercaseSKU (Uppercase)

Convert product codes and SKUs to uppercase with trimmed whitespace.

Before
abc-1234
sku 123
prod-a1b2c3
WH-1000xm5
After
ABC-1234
SKU 123
PROD-A1B2C3
WH-1000XM5
gtin_validateGTIN (Validate)

Validate GTIN/UPC/EAN barcodes by checking the GS1 modulo-10 check digit. Supports GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), and GTIN-14.

Before
012345678905
4006381333931
00012345678905
012345678900
After
012345678905
4006381333931
00012345678905
(invalid - bad check digit)

Strips dashes and spaces before validation. Returns cleaned digits if valid, error if check digit fails.

isbn_formatISBN (Format)

Validate and format ISBN-10 and ISBN-13 book identifiers with standard hyphens.

Before
9780306406157
0306406152
978-0-306-40615-7
1234567890
After
978-0-306-40615-7
0-306-40615-2
978-0-306-40615-7
(invalid - bad check digit)

Validates check digit (modulo-11 for ISBN-10, modulo-10 for ISBN-13). ISBN-13 must start with 978 or 979.

currency_codeCurrency Code (ex: USD)

Normalize currency values to ISO 4217 three-letter codes.

Before
$
usd
US Dollar
euros
£
british pounds
yen
After
USD
USD
USD
EUR
GBP
GBP
JPY

Supports symbols ($, €, £, ¥, ₹, ₩, ₽), words (dollar, euro, pound), and code variants (usd, eur, gbp).

currency_words_to_symbolsCurrency Symbols (ex: $)

Convert currency words and codes to their symbol representation.

Before
dollars
USD
euros
EUR
pounds
GBP
yen
After
$
$
€
€
£
£
¥

Opposite of Currency Code — outputs the symbol character instead of the ISO code.

rating_normalizeRating (Extract Number)

Extract a clean numeric rating from various formats including fractions, text, and star characters.

Before
4.5/5
4.5 out of 5
four point five
★★★★½
3.8
After
4.5
4.5
4.5
4.5
3.8

Handles X/Y fractions, 'X out of Y' text, word numbers with decimals ('four point five'), star characters (★☆½), and plain numbers.

Google Ads Character Limits Reference

30
Headline
90
Description
15
Path Field
25
Sitelink