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

# Batch Operations

> Create wallets, collect funds, and more in bulk

bundl's batch operations let you perform actions on multiple wallets simultaneously. This is where bundl truly shines.

<Note>
  Batch operations are a **Pro feature**. Free users can try with up to 5 wallets.
</Note>

***

## Batch Wallet Creation

Create many wallets at once for airdrops, testing, or organization.

### How to Batch Create

1. Click **\[+ create]** in the action bar
2. Switch to the **Batch** tab
3. Enter the number of wallets (1-100)
4. Enter a base label (e.g., "airdrop")
5. Click **\[create N wallets]**

### Result

```
Created 50 wallets:
  • airdrop-1  8xK4...3nPq
  • airdrop-2  5yR2...9mKj
  • airdrop-3  3pL7...2vXw
  ...
  • airdrop-50 9kM4...7yHn
```

All wallets are created in seconds with sequential labels.

***

## Batch Collect (SOL)

Collect all SOL from multiple wallets to one destination.

### Use Cases

* Consolidating trading profits
* Emptying airdrop wallets
* Moving funds to cold storage

### How to Collect

1. Select the wallets you want to collect from (checkboxes)
2. Click **\[collect]** in the selection action bar
3. Choose the destination wallet
4. Click **\[collect]**

### What Happens

```
Collecting SOL from 10 wallets...

  ✓ trading-1    0.5 SOL → destination
  ✓ trading-2    1.2 SOL → destination
  ✓ trading-3    0.8 SOL → destination
  ⊘ trading-4    0 SOL (skipped)
  ✓ trading-5    2.1 SOL → destination
  ...

Collected 12.5 SOL from 8 wallets
(2 skipped - zero balance)
```

* Wallets with 0 SOL are automatically skipped
* Transaction fees are deducted from each source wallet
* Destination receives the total minus fees

***

## Token Sweeper

Collect a specific token from multiple wallets.

<Card title="Token Sweeper" icon="broom" href="/features/token-sweeper">
  Full guide to the Token Sweeper feature
</Card>

### Quick Overview

1. Select source wallets
2. Click **\[sweep tokens]**
3. Choose the token (USDC, BONK, etc.)
4. Choose destination wallet
5. Optionally select a fee payer (for gasless sweep)
6. Click **\[sweep]**

***

## Batch Export

Export all wallet data at once.

### How to Export

1. Click **\[export]** in the action bar
2. Choose format:
   * **CSV** – For spreadsheets
   * **JSON** – For developers
3. Choose what to include:
   * Labels and addresses only
   * With private keys (⚠️ sensitive)
4. Click **\[export]**

### CSV Format

```csv theme={null}
label,publicKey,privateKey
trading-1,8xK4...3nPq,5xY2...
trading-2,5yR2...9mKj,3pL7...
...
```

<Warning>
  Files with private keys should be encrypted and stored securely. Delete after backing up.
</Warning>

***

## Selecting Multiple Wallets

### Selection Methods

| Method         | Action            |
| -------------- | ----------------- |
| Click checkbox | Select one wallet |
| Shift + Click  | Select range      |
| ⌘/Ctrl + A     | Select all        |
| "Deselect all" | Clear selection   |

### Selection Action Bar

When wallets are selected:

```
┌────────────────────────────────────────────────────────────┐
│ 15 selected   [deselect all]  [send]  [collect]  [sweep]  │
└────────────────────────────────────────────────────────────┘
```

***

## Performance

bundl handles batch operations efficiently:

| Operation | Wallets | Time         |
| --------- | ------- | ------------ |
| Create    | 50      | \~2 seconds  |
| Collect   | 50      | \~30 seconds |
| Sweep     | 50      | \~45 seconds |

Times depend on network congestion and wallet balances.

***

## Error Handling

Batch operations continue even if some wallets fail:

```
Completed: 48 of 50
Skipped: 2 (zero balance)
Failed: 0

[View details]
```

Click **\[View details]** to see which wallets were skipped or failed and why.

***

## Limits

| Operation     | Free      | Pro         |
| ------------- | --------- | ----------- |
| Batch create  | 5 total   | 100 at once |
| Batch collect | 5 wallets | Unlimited   |
| Token sweep   | ❌         | Unlimited   |
| Export        | ❌         | Unlimited   |

***

## Tips

1. **Name wallets consistently** – Makes selection easier
2. **Use the command palette** – Quick access to batch actions
3. **Check balances first** – Avoid sweeping empty wallets
4. **Use gasless sweep** – When source wallets have no SOL

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Token Sweeper" icon="broom" href="/features/token-sweeper">
    Sweep tokens from multiple wallets
  </Card>

  <Card title="Gasless Sweep" icon="bolt" href="/pro/gasless-sweep">
    Sweep wallets with zero SOL
  </Card>
</CardGroup>
