Spell Editor
Converters Reference
We’re reworking our converters; some of these may be out of date!
Below is a reference for the converters available for each variable type. If you want a new converter, please reach out to us at [email protected] or on our Slack community!
Text
Converter | Target Type | Description | Example |
---|---|---|---|
- | - | - | - |
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the email to a text type. | [email protected] → ”[email protected]” |
Phone Number
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the phone number to a text type. | 123-456-7890 → ”123-456-7890” |
URL
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the URL to a text type. | https://respell.ai → ”https://respell.ai” |
Integer
Converter | Target Type | Description | Example |
---|---|---|---|
Absolute Value | Integer | Takes the absolute value of the provided integer. | 4 → 4 -5 → 5 |
Reverse Sign | Integer | Reverses the sign of the provided integer. | 4 → -4 -5 → 5 |
Absolute Value Text | Text | Takes the absolute value of the provided integer and converts it to a text type. | 4 → “4” -5 → “5” |
Reverse Sign Text | Text | Reverses the sign of the provided integer and converts it to a text type. | 4 → “-4” -5 → “5” |
Text | Text | Converts the integer to a text type. | 4 → “4” -5 → “-5” |
Decimal
Converter | Target Type | Description | Example |
---|---|---|---|
Absolute Value | Decimal | Takes the absolute value of the provided decimal. | 4 → 4 -5 → 5 |
Reverse Sign | Decimal | Reverses the sign of the provided decimal. | 4 → -4 -5 → 5 |
Round | Decimal | Rounds the decimal to the nearest integer. | 3.14 → 3 3.88 → 4 -3.14 → -3 -3.88 → -4 |
Ceiling | Decimal | Rounds the decimal to the next highest integer. | 3.14 → 4 3.88 → 4 -3.14 → -3 -3.88 → -3 |
Floor | Decimal | Rounds the decimal to the next lowest integer. | 3.14 → 3 3.88 → 3 -3.14 → -4 -3.88 → -4 |
Absolute Value Text | Text | Takes the absolute value of the provided decimal and converts it to a text type. | 4 → ”4” -5 → ”5” |
Reverse Sign Text | Text | Reverses the sign of the provided decimal and converts it to a text type. | 4 → ”-4” -5 → ”5” |
Round Text | Text | Rounds the decimal to the nearest integer and converts it to a text type. | 3.14 → ”3” 3.88 → ”4” -3.14 → ”-3” -3.88 → ”-4” |
Ceiling Text | Text | Rounds the decimal to the next highest integer and converts it to a text type. | 3.14 → ”4” 3.88 → ”4” -3.14 → ”-3” -3.88 → ”-3” |
Floor Text | Text | Rounds the decimal to the next lowest integer and converts it to a text type. | 3.14 → ”3” 3.88 → ”3” -3.14 → ”-4” -3.88 → ”-4” |
Text | Text | Converts the decimal to a text type. | 3.14 → “3.14” 3.88 → ”3.88” -3.14 → ”-3.14” -3.88 → ”-3.88” |
Boolean
Converter | Target Type | Description | Example |
---|---|---|---|
Opposite | Boolean | Changes the boolean to the opposite value. | true → false false → true |
Opposite Text | Text | Changes the boolean to the opposite value and converts it to a text type. | true → “false” false → “true” |
Text | Text | Converts the boolean to a text type. | true → “true” false → “false” |
Datetime
Converter | Target Type | Description | Example |
---|---|---|---|
ISO Text | Text | Converts the datetime to an ISO format text type. | 12/28/2024 12:01 → ”2024-28-12T12:01:00.000Z” |
Text | Text | Converts the datetime to a text type. | 12/28/2024 12:01 → ”12/28/2024 12:01” |
Date
Converter | Target Type | Description | Example |
---|---|---|---|
ISO Text | Text | Converts the date to an ISO format text type. | 12/28/2024 → ”2024-28-12T00:00:00.000Z” |
Text | Text | Converts the date to a text type. | 12/28/2024 → “12/28/2024” |
Time
Converter | Target Type | Description | Example |
---|---|---|---|
ISO Text | Text | Converts the time to an ISO format text type. | 12:01 → ”12:01:00.000Z” |
Text | Text | Converts the time to a text type. | 12:01 → ”12:01” |
Object
Converter | Target Type | Description | Example |
---|---|---|---|
JSON | Text | Converts the object to a text type in stringified, 2-space indented JSON format. | { “a”: 12345, “b”: “text”, } → ”{ “a”: 12345, “b”: “text”, }” |
Text | Text | Converts the object to a text type in YAML format. | { “a”: 12345, “b”: “text”, } → “a: 12345 b: text” |
Code
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the code to a text type. | if (running) { console.log(”hello world”); }; → ”if (running) { console.log(”hello world”); };” |
The converters below are under construction. Please check back later.
Document
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the time to a text type. | 12:01 → ”12:01” |
Spreadsheet
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the time to a text type. | 12:01 → ”12:01” |
Audio
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the time to a text type. | 12:01 → ”12:01” |
Image
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the time to a text type. | 12:01 → ”12:01” |
Video
Converter | Target Type | Description | Example |
---|---|---|---|
Text | Text | Converts the time to a text type. | 12:01 → ”12:01” |