--- title: "convert to ASCII()" slug: "string-convert-to-ascii" updated: 2026-08-17T05:42:21Z published: 2026-08-17T05:42:21Z canonical: "docs.lobstersoftware.com/string-convert-to-ascii" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # convert to ASCII() This function converts a Unicode text **a** into an ASCII text by removing non-ASCII characters or by replacing them with ASCII characters. The conversion can use different conversion modes **b**. ## Parameters | Parameter | Description | | --- | --- | | a | The text to be converted. | | b | (optional) Conversion mode (see following table). Default: *convert*. **NOTE:** Use the three dots to select a value. | | c | (optional) Limit (decimal Unicode value) from which a conversion should take place. Default: *128*. | | Conversion mode b | Effect | | --- | --- | | convert | If known, a non-ASCII character will be replaced by its ASCII base character (e.g. ä→a and ö→o). If no base character is known, the character will be removed. | | remove | Non-ASCII-characters are removed. | ## Examples | Parameter a | Parameter b | Parameter c | Result | | --- | --- | --- | --- | | Schönstraße costs 1 Million € | | | Schonstrasse costs 1 Million | | Schönstraße costs 1 Million € | convert | | Schonstrasse costs 1 Million | | Schönstraße costs 1 Million € | convert | 128 | Schonstrasse costs 1 Million | | Schönstraße costs 1 Million € | convert | 256 | Schönstraße costs 1 Million | | Schönstraße costs 1 Million € | convert | 65536 | Schönstraße costs 1 Million € | | Schönstraße costs 1 Million € | remove | 128 | Schnstrae costs 1 Million |