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

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.goshippo.com/feedback

```json
{
  "path": "/docs/Shipments/ShippingLabelSizes",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Shipping label sizes

> Choose from multiple shipping label formats and sizes including PDF, PNG, and ZPL when purchasing labels through Shippo.

Use this guide to learn how to use the Shippo API to create different label sizes for your application.

## Setting your label format

Specify your preferred label format by setting the `label_file_type` parameter to one of the [label tokens](#shipping-label-format-sizes) when calling the [transaction endpoint](/api-reference/transactions/create-a-shipping-label) to purchase your label.

Each carrier supports different label size options. Refer to our [carrier capabilities](/docs/Carriers/CarrierCapabilities) for carrier specific details.

If you don't set the `label_file_type`, the Shippo API will use the default format set in the [Shippo dashboard](https://apps.goshippo.com/settings/labels).

```shell cURL theme={null}
curl --location --request POST 'https://api.goshippo.com/transactions' \
--header 'Authorization: ShippoToken <API_TOKEN>' \
--header 'Content-Type: application/json' \
--data-raw '{
  "rate": "a5c9d1bec93149f5bedc3a9374b50970",
  "async": false,
  "label_file_type": "PDF"
}'
```

## Shipping label format sizes

| Label type         | Dimensions (imperial) | Dimensions (metric) | Token         |
| ------------------ | --------------------- | ------------------- | ------------- |
| 2.3 x 7.5 inch PDF | 2.3 x 7.5 inch        | 59 x 191 mm         | `PDF_2.3x7.5` |
| 2.3 x 7.5 inch PNG | 2.3 x 7.5 inch        | 59 x 191 mm         | `PNG_2.3x7.5` |
| 4 x 8 inch PDF     | 4 x 8 inch            | 100 x 200 mm        | `PDF_4x8`     |
| 4×6 inch PDF       | 4 x 6 inch            | 102 x 153 mm        | `PDF_4x6`     |
| 8.5×11 inch PDF    | 8.5 x 11 inch         | 210 x 279 mm        | `PDF`         |
| A4 PDF             | 8.3 x 11.7 inch       | 210 x 297 mm        | `PDF_A4`      |
| A5 PDF             | 5.8 x 8.3 inch        | 148 x 210 mm        | `PDF_A5`      |
| A6 PDF             | 4.1 x 5.8 inch        | 105 x 148 mm        | `PDF_A6`      |
| ZPL II             |                       |                     | `ZPLII`       |
| PNG                |                       |                     | `PNG`         |
