Skip to the content
Start free

URL contains non-ASCII characters

“URL contains non-ASCII characters” is an audit warning that a web address holds letters or symbols outside the basic 128-character ASCII set, such as ü, é, £, Arabic or Japanese script, or emoji, written raw instead of percent-encoded. Browsers usually cope, but tools, feeds, emails and some crawlers can break or split the address. The fix is to encode the characters, or choose a plain slug.

What does the warning mean? #

ASCII covers the English letters a to z and A to Z, the digits 0 to 9 and some punctuation. Anything else is non-ASCII. A URL is meant to be built from a small safe set of ASCII characters. Other characters are allowed only in encoded form.

The rule comes from RFC 3986, the standard for web addresses. It names a set of unreserved characters: letters in either case, the digits, plus the hyphen, full stop, underscore and tilde. For new address schemes it says text should first be turned into bytes with UTF-8, and then any byte outside the unreserved set should be percent-encoded. Percent-encoding writes each byte as a % sign and two hex digits.

So the German word gemüse becomes gem%C3%BCse. The ü is 2 bytes in UTF-8, so it becomes 2 encoded pairs.

Google’s URL structure best practices say characters in the non-ASCII range should be percent-encoded. It lists https://example.com/gemüse as not recommended and https://example.com/gem%C3%BCse as recommended. It gives the same advice for Arabic text and for emoji.

The same Google page also recommends using words in your audience’s language in the address, and shows a Japanese example. So non-ASCII words are fine in themselves. The issue is how they are written in your HTML, your XML sitemap and your HTTP headers. Send them encoded, and a browser will still show the readable form to people.

Raw characters cause real problems:

  • Two addresses for one page. If one link is raw and another is encoded, some tools see 2 URLs. That can split link equity and create duplicate content.
  • Broken links. Old software, some email clients and copy-and-paste can mangle the bytes, so the link leads to a 404.
  • Feed and sitemap errors. The sitemaps protocol says URLs in a sitemap must be URL-escaped to follow RFC 3986 and RFC 3987, and the file must be UTF-8.

Why does it matter for AI answers? #

AI crawlers and agents fetch pages with ordinary code libraries. A clean, encoded address is the safest form for any program to request. If a bot gets a mangled address it may log an error and move on. When an AI answer quotes your page, it also quotes the link. An address that copies cleanly is more likely to work for the person who clicks it. That supports AI crawlability and the citations you earn.

What about the domain name? #

The host name follows different rules. Internationalised domain names, such as a name with an accented letter, are converted to an ASCII form called Punycode. RFC 3492 describes Punycode as a way to turn a Unicode string into ASCII, reversibly, using characters allowed in host names. Our free Punycode converter shows both forms. Percent-encoding is for the path and query, not for the host.

How does it happen? #

  • A CMS builds the slug from a title such as “Crème brûlée kit” and keeps the accents.
  • Someone types a £ sign or a curly quote into a page name.
  • A product name with a trademark symbol, a degree sign or a dash from a word processor is used as the slug.
  • A URL parameter carries a search term in another language without encoding.

Common mistakes #

  • Encoding twice. Encoding an address that is already encoded turns % into %25. The link then points somewhere else.
  • Mixing forms. Raw in menus, encoded in the sitemap. Pick one encoded form everywhere.
  • Changing live slugs without redirects. If you replace an accented slug with a plain one, add a permanent redirect from the old address. Check it with our free redirect checker.
  • Lower case hex in one place, upper in another. RFC 3986 says the 2 forms are equal but asks producers to use upper case hex digits for consistency.

A worked example #

A UK bakery has a page at /recipes/crème-brûlée/. Its menu links to the raw form. Its sitemap plugin writes /recipes/cr%C3%A8me-br%C3%BBl%C3%A9e/. An audit flags the raw links.

The bakery has 2 good choices. It can keep the French words and make sure every link, the canonical tag and the sitemap use the same encoded form. Or, since its readers search in English, it can move the page to /recipes/creme-brulee/ with a 301 redirect from the old address, then update the internal links. Either way there is now one address for one page.

How to check it #

  1. Paste the address into our free URL parser to see each part, then into the URL encoder and decoder to get the encoded form.
  2. Run our free sitemap checker to see the addresses your sitemap lists.
  3. Run our free canonical checker on the page to compare the canonical with the address you expect.
  4. Use our free URL slug optimiser to make a plain ASCII slug if you decide to change it.
  5. For the whole site, our free SEO audit lists URLs with these characters.

Questions #

Do I have to remove accents from my URLs? #

No. Google’s own guide shows non-English words in addresses. What matters is that they are sent encoded and the same way everywhere.

Will people see the ugly % codes? #

Modern browsers usually show the readable form in the address bar. The encoded form lives in the code.

Is a plain slug better for an English site? #

Often, yes. It is shorter, easier to type and easier to share. See SEO-friendly URL.

Sources #

Updated 25 November 2026 by URSY.

Cite this page: URL contains non-ASCII characters. URSY. Updated 25 November 2026. https://ursy.com/wiki/url-contains-non-ascii-characters/ · Section links

Tools for this

All 871 wiki entries, A to Z →