# GS1 EPC Decode

> Kalipso Studio 6.1 documentation · https://doc.sysdevmobile.com/kalipso/6.1/documentation/actions/group-rfid/gs1-epc-decode
>
> Decodes an SGTIN-96 or SGTIN-198 EPC (raw hex, tag URI or pure identity URI) into filter, company prefix, item reference and serial.

Decodes an encoded EPC value into its individual parts.

Action available for the following operating systems:

![OS Supported: Android, iOS, Win, Win32](https://doc.sysdevmobile.com/kalipso/assets/images/01_Supported_OS-5c02a51fd5080a410a07ee3ef72b6872.png)

### Parameters

* **Type** - The decoding type. The supported options are:
  * SGTIN-96
  * SGTIN-198<br>
* **Value** - The value to be decoded.<br>
* **Format** - The input format. The supported options are:
  * _Auto_ - Based on the provided value, Kalipso will attempt to determine the format, by checking if it starts with "_urn:epc:tag:sgtin-96" or "urn:epc:id:sgtin_" If not, that it will be parsed as Raw EPC.
  * _RAW EPC -_ Decodes an hexadecimal string. Input can be for example: 30380C0E56EB1480009FE4F0
  * _EPC Tag URI_ - Input can be for example: urn:epc:tag:sgtin-96:1.012345.67890.10478832
  * _EPC Pure Identity URI_ - Input can be for example: urn:epc:id:sgtin:012345.67890.10478832<br>
* **Targets** - For SGTIN-96 and SGTIN-198 the results will be:
  * _Filter_ - The filter element of the SGTIN. If the provided value is in "EPC Pure Identity URI" format, that there is no **Filter** value.
  * _Indicator_ - The indicator component of the SGTIN.
  * _Company Prefix_ - The company prefix component of the SGTIN.
  * _Item Reference_ - The item reference component of the SGTIN.
  * _Serial Number_ - The serial number component of the SGTIN

:::info
This action is used to extract each of the components of an encoded EPC.
:::
