remove accentstext normalizationstrip diacriticsspanish text

How to Remove Accents From Text and Keep the Ñ

How to remove accents and umlauts from text in your browser, keep the ñ when you need it, and what happens to letters like ß, ø or æ.

August 22, 2026·4 min read

To remove the accents from a text, paste it into the remove accents tool. It changes á to a, Á to A and ü to u instantly, and keeps the ñ if its switch is on, which it is by default. A typical case is an old form that rejects names with accents, or a script that compares strings and expects text without diacritics. In both cases you need to remove the accents without rewriting the text by hand.

Why this isn't as simple as "find and replace"

Changing each accented vowel (á, é, í, ó, ú) by hand works for a short text, but it breaks down as soon as capitals (Á, É), ü, or letters like ç, ã or ô appear. The reliable approach is to split each letter from its mark. Unicode calls that NFD decomposition. Then you only remove the combining marks in the range U+0300 to U+036F, where the tildes, diaeresis and cedillas live. No replacement list is needed.

Why the ñ is a special case

The ñ is not an n with a mark you can drop without consequences: in Spanish, ñ and n are different letters, and changing one changes the word. Removing the tilde from año leaves ano, which is a different word. That's why the tool has a switch: with the ñ option on, ñ and Ñ are kept, and only the accents on the other letters are removed.

With the ñ kept, «Ñandú, cigüeña y niño» becomes «Ñandu, cigueña y niño». Without it, the same text becomes «Nandu, ciguena y nino».

How to remove accents from a text

  1. Paste or type your text. The result recalculates on every keystroke.
  2. Decide what to do with the ñ. The switch starts on, so the ñ is kept. Turn it off to convert it to n as well.
  3. Copy the result. It appears in the "Without accents" box, and the Copy button sends only that text to the clipboard.

Common use cases

  • Preparing a URL or a username. For a full URL, the slug generator already removes accents on its own. Use this tool when you only need the text without accents. If you're not sure what a slug is, this guide explains it.
  • Compatibility with old systems: forms or databases that don't handle extended Unicode characters well.
  • Normalizing text for search: comparing strings while ignoring accents, so a search for "jose" also finds "José".
  • Preparing data for processing, where diacritics can cause inconsistencies when comparing or grouping values.

What it does not do

The tool doesn't change uppercase or lowercase, spaces, punctuation or digits, and it doesn't correct spelling. It also doesn't tell meanings apart: «sé» (from saber or ser) and «se» (a pronoun) both end up as «se».

Frequently asked questions

Why should I keep the ñ instead of removing it too? Because ñ and n are different letters in Spanish, and removing the mark changes words: año becomes ano.

Does this work with other languages? Yes, with any Latin letter that decomposes into a base letter plus a mark: French, Portuguese, German, Italian or Catalan. For example, ü becomes u and ç becomes c. Letters that don't decompose, such as ß, æ, ø, ł or œ, are replaced by their plain equivalent: Straße becomes Strasse and Über becomes Uber.

Are uppercase or lowercase letters lost? No. Á becomes A and á becomes a. Spaces, punctuation and digits don't change.

Is my text uploaded to any server? No. Everything happens in your browser with JavaScript.


Remove accents from any text with the remove accents tool, keeping the ñ if you need it.

Try it without code

Remove Accents

Remove accents from a text instantly.

Open Remove Accents

Built by

Miguel Ángel Colorado Marin (MACM)

Full-Stack Developer · Guadalajara, España

I develop web apps, digital tools and full projects — from design to deployment.

Contact me