Let me be straight with you about codes up front, because most "BL2 code list" pages aren't. A Gibbed code is a long scrambled string that encodes every part of an item, and if one character is off, it's dead — the editor either rejects it or builds garbage. So I'm not going to dump a wall of codes here that might be stale or mis-copied. What I'll do instead is teach you exactly how Paste Code works, send you to the libraries that actually keep verified codes up to date, and show you how to not screw up the copy-paste. That's the honest version, and it's the one that gets you working gear.

The short version
  • Codes start with BL2( and end with ). Paste them in the Backpack tab.
  • Get verified codes from lootlemon or the Se7enSins/MPGH master lists — they're maintained; a static list rots.
  • Paste the code as one continuous line, no line breaks, nothing after the closing ).

Two ways to get the gun you want

Gibbed gives you two routes to any piece of gear, and people forget the first one exists:

  • Build it from scratch. In the Backpack tab you can make a new item and pick every part from dropdowns — manufacturer, type, grade, element, accessory, the lot. No code needed. Great when you want a specific roll and you know the parts.
  • Paste a code. Someone already built the item and shared it as a code string. You paste it, Gibbed reconstructs the exact item. Faster, and how most people get named legendaries.

This page is about the second route, since that's what "weapon codes" means — but building from scratch is right there if you'd rather. If you go that way, read item parts first, or your hand-built gun may vanish on load.

How Paste Code actually works

  1. Open your save and go to Backpack

    Load your character, then switch to the Backpack tab (the Bank tab works identically if you'd rather drop it in storage).

  2. Hit Paste Code

    Use the Paste Code action (right-click / the paste button). Gibbed reads whatever code is on your clipboard and rebuilds the item right into your inventory — parts, level, element and all.

  3. Sync and save

    The item appears in the list. Save the file, close the editor, and load the game. Mind the Steam Cloud conflict prompt — pick your local save, or the cloud copy overwrites the new gear.

Where to get codes that actually work

These are maintained, community-vetted libraries. I'm linking out instead of rehosting because a code list is a living thing — these get corrected when something's wrong, and a frozen copy on my site wouldn't.

Why I won't paste a code list here

A wrong character kills a code, and I can't guarantee a list I hand-typed stays correct as the game and community patches evolve. Sending you to a maintained source is the honest move — it's the one place a broken code gets fixed.

Copy the code correctly (this is where it breaks)

More codes "don't work" because of a bad copy than because the code itself is wrong. Three rules:

  • Grab the whole thing, from BL2( to the closing ). Miss the opening or closing and it's invalid.
  • Make it one continuous line. Codes are long and wrap across multiple lines in forum tables. If you paste with line breaks in it, it fails — strip every newline so it's a single unbroken string.
  • Don't grab the element label. Lists often print something like "Fire" or "Slag" right after the code. That's a human note, not part of the code. Copy up to the ) and stop.

Iconic legendaries worth looking up

If you're new and don't even know what to search for, here's a starter set of the gear people actually want — what each one does, so you can go find its code. Filter it, then look the name up on lootlemon.

Infinity
PistolLegendary
Never needs reloading — its magazine is effectively endless.
Unkempt Harold (DPUH)
PistolLegendary
Fires bullets that split into a forward spread. A staple damage pistol.
Conference Call
ShotgunLegendary
Pellets spawn extra projectiles sideways as they travel.
Norfleet
LauncherLegendary
Fires a huge three-way elemental blast. Drops from Vermivorous.
Lyuda (White Death)
SniperLegendary
Each shot splits into three for big single-target damage.
Sand Hawk
SMGLegendary
Bird-shaped projectile spread; brutal with The Bee shield.
Slagga
SMGLegendary
High chance to slag enemies — a top support gun.
The Bee
ShieldLegendary
Massive amp damage with no drain — pairs with fast-firing guns.
The Sham
ShieldLegendary
Very high bullet absorb chance; soaks incoming fire and refills ammo.
Storm Front
GrenadeLegendary
Lingering shock arc that chains between enemies — great crowd control.
Interfacer
ShotgunSeraph
Pellets converge then split — devastating up close. Seraph vendor.
Bekah
RiflePearlescent
Each shot splits into four. Pearlescent rarity.

This is a taste, not a catalog — there are hundreds more. lootlemon has the full searchable database.

Want it sorted by kind? Browse the category references — each lists the gear with what it does, then points you to the code:

Why a code fails (even a good one)

  • It's a DLC item you don't own. Paste a code for gear from a DLC that isn't installed and the game quietly deletes it on load. Own the content first.
  • The level doesn't match. A code can carry a level (or OP level). If it's above your character, you won't be able to equip it until your level catches up — or you edit the item's level down.
  • "Unknown weapon" / it won't parse. Usually a community-patch or modded item the stock editor doesn't recognize — same root as reencode mismatch. A vanilla code on a vanilla editor just works.
  • Bad copy. See above — line breaks and missing brackets are the usual culprits.
Sources I used

The Gamertweak and GGRecon code guides (the one-line caveat), the Steam weapon-codes guides, the Se7enSins master list, lootlemon, and the HiddenGold + LTG_Reaper walkthroughs that demo Paste Code. Item effects are standard BL2 knowledge. Checked June 2026.