> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: TOMAP

> Convert key-value expression pairs into a map data type structure. Use TOMAP for building lookup structures in Integrate.io ETL data pipelines.

## Description

Converts key/value expression pairs to type map.

## Syntax

`TOMAP(key-expression,value-expression[,key-expression,value-expression...])`

## Arguments

*key-expression* - string\_expression.

*value-expression* - any data type.

## Examples

`TOMAP('Alan','64','Carol','63')` returns (\[Alan#64,Carol#63]).

## Return value datatype

Map

## Impact of null value

If input is null, returns null.
