Variables

Variables let you write a value once and reuse it in any request. Write {{name}} anywhere in a request and Kitten swaps in the value when it sends it.

Use a Variable

Type {{ in the URL, a header, the body or an auth field to pick from your variables. Variables that will resolve are highlighted. A variable Kitten can't find is shown in red and sent as written; click it to add the variable.

Kitten fills in variables in the URL, query and path parameters, headers, the body, form fields, file paths, GraphQL queries and variables, the proxy URL, and auth fields. The request keeps the {{name}} text, so only the copy that is sent changes.

Scripts don't use this syntax. In a script, read a variable with get_var("name"). See Scripts.

Fallback Values

Add a fallback after a colon. Kitten uses it when the variable isn't set:

{{port:8080}}

If port is set, its value wins.

Where Variables Live

When two places define the same name, the one closest to the request wins:

OrderScopeWhere to edit it
1RequestThe request's Vars tab
2FolderThe Folder tab of the environment panel. The innermost folder wins.
3Collection environmentThe active environment of the collection
4Workspace environmentThe active environment of the workspace
5CollectionThe Collection tab of the environment panel
6GlobalThe Global tab of the environment panel. Globals apply to every request.

Disabled rows and rows with no name are skipped.

Environments

An environment is a named set of variables, such as dev or production. Pick one from the environment switcher, or choose No Environment.

A collection environment is saved with its collection, so it's versioned and shared with it. A workspace environment applies to every collection in the workspace.

To read a variable only from the active environment, write {{env.name}}. To read from a specific environment, write {{env.production.name}}.

Secret and Local-Only Variables

Mark a variable as secret with the eye icon to mask its value in the panel.

In a collection that lives in a folder on disk, a variable can be local only. It's saved in a <environment>.local.yml file that git ignores, so it never gets committed. Use it for your own tokens and passwords.

Capture Values From a Response

In the request's Vars tab, the Post side saves values from the response into a variable after each request. Each capture has a name and an expression, such as res.body.token, res.headers.etag or res.status. Choose where to save it: request, folder, environment, collection or global.

Date Templates

Date templates insert dates relative to today, so a request like "last 30 days" never goes stale.

TemplateValue
{{today}}Today's date
{{yesterday}}Yesterday's date
{{tomorrow}}Tomorrow's date
{{now}}Current date and time
{{30daysago}}The date 30 days ago. Use any whole number.
{{7daysafter}}The date 7 days from now. Use any whole number.

Dates come out as yyyy-mm-dd, and {{now}} as yyyy-mm-dd hh:MM:ss. They use your computer's time zone. Add utc. to use UTC instead, for example {{utc.today}} or {{utc.now}}.

The Postman-style {{$today}} works too.

Formats

Add a format after a colon:

TokenMeaning
yyyy4-digit year
yy2-digit year
mmMonth
ddDay
hhHour, 24-hour clock
MMMinutes
ssSeconds

Any other character is kept as-is. There are also three named formats:

FormatValue
timestampUnix time in seconds
timestamp_msUnix time in milliseconds
isoRFC 3339, like 2026-07-24T13:45:09+05:30

Examples

On July 24, 2026 at 13:45:09:

TemplateValue
{{today}}2026-07-24
{{30daysago}}2026-06-24
{{7daysafter}}2026-07-31
{{now}}2026-07-24 13:45:09
{{today:dd/mm/yyyy}}24/07/2026
{{today:mm/dd/yy}}07/24/26
{{now:hh:MM}}13:45
from={{7daysago}}&to={{today}}from=2026-07-17&to=2026-07-24

A date template wins over a variable with the same name, so {{today}} is always a date. To read a variable called today, write {{env.today}}.

When you import a cURL command, Kitten turns dates near today into date templates for you. For example, 2026-07-23 becomes {{yesterday}} when you import it on July 24.

Dynamic Variables

Dynamic variables generate a new value every time you send. Kitten supports all the dynamic variables Postman and Bruno share, plus Bruno's {{$randomNanoId}} and {{$randomIPV4}}. Type {{$ to pick one.

Dates and Times

VariableValue
{{$timestamp}}Unix time in seconds
{{$isoTimestamp}}Current UTC time in ISO 8601 with milliseconds, like 2024-01-01T00:00:00.123Z
{{$randomDatePast}}Random date in the past year (UTC ISO 8601)
{{$randomDateFuture}}Random date in the next year (UTC ISO 8601)
{{$randomDateRecent}}Random date in the last day (UTC ISO 8601)
{{$randomWeekday}}Random weekday name
{{$randomMonth}}Random month name

IDs

VariableValue
{{$guid}}Random UUID v4
{{$randomUUID}}Random UUID v4
{{$randomNanoId}}Random 21-character Nano ID

Numbers and Booleans

VariableValue
{{$randomInt}}Random integer from 0 to 1000
{{$randomBoolean}}true or false
{{$randomAlphaNumeric}}One random letter or digit

People and Places

VariableValue
{{$randomFirstName}}First name
{{$randomLastName}}Last name
{{$randomFullName}}Full name
{{$randomNamePrefix}}Name prefix, like Mr. or Dr.
{{$randomNameSuffix}}Name suffix, like Jr. or PhD
{{$randomJobArea}}Job area
{{$randomJobDescriptor}}Job descriptor
{{$randomJobTitle}}Job title
{{$randomJobType}}Job type
{{$randomPhoneNumber}}Phone number (###-###-####)
{{$randomPhoneNumberExt}}Phone number with an extension
{{$randomLocale}}Language code, like en or fr
{{$randomCity}}City
{{$randomStreetName}}Street name
{{$randomStreetAddress}}Street address
{{$randomCountry}}Country
{{$randomCountryCode}}ISO 3166 country code
{{$randomLatitude}}Latitude
{{$randomLongitude}}Longitude

Images

VariableValue
{{$randomAvatarImage}}Avatar image URL
{{$randomImageUrl}}Image URL
{{$randomAbstractImage}}Abstract image URL
{{$randomAnimalsImage}}Animals image URL
{{$randomBusinessImage}}Business image URL
{{$randomCatsImage}}Cats image URL
{{$randomCityImage}}City image URL
{{$randomFoodImage}}Food image URL
{{$randomNightlifeImage}}Nightlife image URL
{{$randomFashionImage}}Fashion image URL
{{$randomPeopleImage}}People image URL
{{$randomNatureImage}}Nature image URL
{{$randomSportsImage}}Sports image URL
{{$randomTransportImage}}Transport image URL
{{$randomImageDataUri}}SVG image as a data URI

Finance

VariableValue
{{$randomBankAccount}}8-digit bank account number
{{$randomBankAccountName}}Bank account name
{{$randomCreditCardMask}}Last 4 digits of a card number
{{$randomBankAccountBic}}BIC
{{$randomBankAccountIban}}IBAN with valid check digits
{{$randomTransactionType}}Transaction type
{{$randomCurrencyCode}}ISO 4217 currency code
{{$randomCurrencyName}}Currency name
{{$randomCurrencySymbol}}Currency symbol
{{$randomBitcoin}}Bitcoin address

Business and Products

VariableValue
{{$randomColor}}Color name
{{$randomDepartment}}Store department
{{$randomProductName}}Product name
{{$randomProductAdjective}}Product adjective
{{$randomProductMaterial}}Product material
{{$randomProduct}}Product
{{$randomPrice}}Price from 0.00 to 1000.00
{{$randomCompanyName}}Company name
{{$randomCompanySuffix}}Company suffix, like Inc or LLC
{{$randomCatchPhrase}}Company catch phrase
{{$randomCatchPhraseAdjective}}Catch phrase adjective
{{$randomCatchPhraseDescriptor}}Catch phrase descriptor
{{$randomCatchPhraseNoun}}Catch phrase noun
{{$randomBs}}Business-speak phrase
{{$randomBsAdjective}}Business-speak adjective
{{$randomBsBuzz}}Business-speak buzzword
{{$randomBsNoun}}Business-speak noun

Databases and Tech Words

VariableValue
{{$randomDatabaseColumn}}Database column name
{{$randomDatabaseType}}Database column type
{{$randomDatabaseCollation}}Database collation
{{$randomDatabaseEngine}}Database engine
{{$randomAbbreviation}}Tech abbreviation
{{$randomAdjective}}Adjective
{{$randomNoun}}Noun
{{$randomVerb}}Verb
{{$randomIngverb}}Verb ending in -ing
{{$randomPhrase}}Phrase

Internet and Files

VariableValue
{{$randomEmail}}Email address
{{$randomExampleEmail}}Email address at an example domain
{{$randomUserName}}Username
{{$randomProtocol}}http or https
{{$randomUrl}}URL
{{$randomDomainName}}Domain name
{{$randomDomainSuffix}}Domain suffix
{{$randomDomainWord}}Domain label
{{$randomIP}}IPv4 address
{{$randomIPV4}}IPv4 address
{{$randomIPV6}}IPv6 address
{{$randomUserAgent}}User agent
{{$randomHexColor}}Hex color (#rrggbb)
{{$randomMACAddress}}MAC address
{{$randomPassword}}15-character password
{{$randomFilePath}}File path
{{$randomDirectoryPath}}Directory path
{{$randomFileName}}File name
{{$randomCommonFileName}}Common file name
{{$randomMimeType}}MIME type
{{$randomCommonFileType}}Common file type
{{$randomCommonFileExt}}Common file extension
{{$randomFileType}}File type
{{$randomFileExt}}File extension
{{$randomSemver}}Semantic version

Text

VariableValue
{{$randomWords}}Two to five words
{{$randomWord}}One word
{{$randomLoremWord}}One lorem word
{{$randomLoremWords}}Three lorem words
{{$randomLoremSentence}}One lorem sentence
{{$randomLoremSentences}}Two to six lorem sentences
{{$randomLoremParagraph}}One lorem paragraph
{{$randomLoremParagraphs}}Three lorem paragraphs
{{$randomLoremText}}Lorem text
{{$randomLoremSlug}}Lorem URL slug
{{$randomLoremLines}}One to five lorem lines