Documentation

gwp_remove_accents

With the gwp_remove_accents Merge Tag Modifier for Gravity Forms you can converts all accent characters to ASCII characters.

:gwp_remove_accents

Examples

If you want to use this Modifier, just place is after the Field ID number in the Merge Tag, like this:

{Text:1:gwp_remove_accents}
ValueModifier
en tête-à-têteen tete-a-tete
Café Entrepôt FaçadeCafe Entrepot Facade

Frequently Asked Questions

What does the :gwp_remove_accents modifier do in Gravity Forms?

The :gwp_remove_accents modifier automatically removes accent marks from characters (like é, ü, ñ) and replaces them with their plain-text ASCII equivalents (e, u, n). This is useful for making text compatible with systems that don’t support special characters, or when creating slugs and search-friendly values.

{My Text Field:1:gwp_remove_accents}

When should I use :gwp_remove_accents?

Use this modifier when you expect users to input accented characters and you want to normalize the output for processing, storing, or displaying without formatting issues. It’s especially helpful for creating clean URLs, consistent field values, or simplified data for backend systems.

{Name Field:5:gwp_remove_accents}

How can I apply other modifiers after using gwp_remove_accents?

You can apply additional modifiers after gwp_remove_accents by using nested modifiers. Instead of chaining with colons like :slug, you must use the correct syntax with modifier1, modifier2, etc.
This lets you perform multiple transformations in sequence for example, removing accents, then sanitizing the result for use in a URL.

Correct example:
{Full Name:1:gwp_remove_accents modifier1='gwp_sanitize type="sanitize_title_with_dashes"'}

This will:
-Remove accents from the field value.
-Convert the result into a URL-safe slug (e.g., RÉSUMÉ FRANÇAIS → resume-francais).

What’s the difference between the original and the modified output?

The original merge tag outputs whatever the user types including any accented characters. When you add :gwp_remove_accents, it strips those accents and returns the cleaned version.

Original: {Text Field:1}  
Without Accents: {Text Field:1:gwp_remove_accents}

 Can I preview the accent removal result in real-time?

Yes. You can display both the original and the converted result using an HTML field in your form. This works in Gravity Forms Preview and on live pages, and you can also reflect it in confirmation messages or notifications.

<p>Original: {Description:3}</p>  
<p>Cleaned: {Description:3:gwp_remove_accents}</p>

Last updated: 22-07-2025

Advanced Merge Tagsv1.9.3

To use the functionalities described in this documentation, you'll need to get the GravityWP - Advanced Merge Tags add-on.

Read more