You get a build code from the Path of Exile website by opening the build page someone shared, copying the compressed code string from the import/copy control on that page, and pasting it into Path of Building, the community planner that reads the format. The key condition is access: official poe.com build pages (and the poe.ninja build browser that surfaces them) only expose a code when the author or site provides a copy control, and the code is only useful in a compatible import tool. This guide covers where codes live, how to copy them cleanly, how to load them, and what to do when no code appears.
A few terms need separating before the steps make sense. The "PoE website" can mean the official pathofexile.com domain, the official poe.com build-planning pages introduced around 2024, or third-party aggregators such as poe.ninja that index public characters and builds. These are different products with different copy behavior, and conflating them is the most common reason people fail to find a code. None of them is Path of Building itself; that is a separate open-source desktop application that stores builds in its own text format. The website hosts or displays builds; the planner consumes them.
What a Build Code Actually Is
A Path of Building build code is not a URL and not a saved file in the usual sense. It is a long string of text that begins with a short prefix and continues with base64-encoded, compressed data representing the whole build: passive tree allocations, gem links, item definitions, skill settings, and configuration flags. When you paste that string into Path of Building's import box, the application decompresses it and reconstructs the build locally.
Two practical consequences follow. First, the code is self-contained, so it works offline once copied; you do not need to stay logged in or keep the browser tab open. Second, the code is opaque. You cannot read a build's items by skimming the string, and you should not try to edit it by hand. If you need changes, import it first and edit inside the planner, then export a fresh code.
Path of Building has two maintained lineages, the original Community fork and a newer Path of Building 2 line. Both accept the standard import string format, though very new features in one may not round-trip perfectly into the other. If a code fails to load, checking the planner version is a reasonable first diagnostic rather than assuming the code is corrupt.
Before You Start: Prerequisites and Version Checks
Gather these before touching any website, because each one prevents a specific failure:
A browser on desktop or mobile with clipboard access. Copy controls often rely on the clipboard API, which some mobile browsers restrict on non-secure pages. Path of Building installed and launched at least once, so it can register its import handler if you plan to use direct links. The correct league selected in the planner. A build made for a temporary league may contain items or tree nodes that behave differently in Standard, and imported characters can show warnings when the league context is wrong. A clear idea of which site you are on. Official build pages, poe.ninja, and forum posts each present codes differently.
If you are importing someone else's character rather than a saved build plan, you also need that character to be public. Private profiles return no data to any importer, which is an account setting rather than a website bug.
Getting a Code From an Official Build Page
The official build pages on pathofexile.com present a build with a passive tree preview, gem and item summaries, and a control for transferring the build into the planner. The exact label varies by page version, so look for wording such as "Copy build code," "Import," or a code icon near the build header or the share menu. The sequence is the same regardless of label:
1: Open the build page in a desktop browser and let it finish loading, including any tree preview. 2: Find the share or import control near the top of the build, or in the page's overflow menu. 3: Choose the copy option. If a dialog shows the raw string with a "Copy" button, use that button rather than selecting the text manually. 4: Confirm the clipboard now holds a long string, not a URL. Pasting into a plain text editor is the simplest check. 5: Switch to Path of Building, open the Import tab, paste into the code field, and confirm.
Success looks like the planner rebuilding the build with a populated tree, item set, and gem links, and no red error banner. If the planner shows an empty tree or a parse error, the clipboard likely captured a truncated string or the page's copy control failed silently; return to the page and copy again.
Some official pages offer a direct "open in Path of Building" style link instead of a visible code. That works only when the planner is installed and has registered the protocol handler. If clicking does nothing, the handler registration is missing, and the reliable fallback is to find the copy-code control and use the manual import path.
Getting a Code From poe.ninja Build Listings
poe.ninja is the most-used third-party browser for public builds and characters, and it is where many players first encounter a code. Its build pages are generated from public profile data, so the code you get reflects the character as last indexed, not a saved plan the author curated. That distinction matters: an indexed character snapshot may include leveling leftovers, unsocketed gems, or gear worn for a different purpose than the build's stated goal.
On a poe.ninja build or character page, the export control typically appears in the page's action row or a share menu, labeled with Path of Building wording. Copying works the same way as on official pages. Because poe.ninja refreshes from the official API, a character that was recently changed or made private may export a stale or empty build; if the imported result looks wrong, check the character's profile visibility and the listing's last-updated timestamp before blaming the code.
A second route on poe.ninja is the raw account and character name shown on the page. Path of Building's Import tab accepts an account name and character name in its own fields and fetches the character directly, which bypasses the code entirely. This is useful when the copy control is missing, but it requires the profile to be public and the planner to have network access at import time.
Getting a Code From Forum Posts and Guides
Build guides on the official forums and on community sites usually publish the code as plain text in a spoiler block or a code box, sometimes under a heading like "Path of Building link" or "PoB code." Here the risk is selection error rather than a missing feature. Long strings wrap across lines in forum layouts, and dragging to select can drop characters at line breaks or pick up trailing punctuation from the surrounding sentence.
The safe method is to use the post's own copy affordance if one exists, or to open the code block in isolation, select all within the block, and paste into a text editor first to inspect the beginning and end. A valid code starts with its expected prefix and ends cleanly; a trailing period, a stray quotation mark, or a missing final chunk will all cause a parse failure. Trim only obviously foreign characters, never internal ones.
Loading the Code in Path of Building
With the string on your clipboard, the import itself is quick:
1: Launch Path of Building and create a new build or open the Import tab. 2: Paste the code into the import field. The planner usually detects a code string and enables the import button automatically. 3: Confirm the import and wait for the build to render. 4: Check three things: the passive tree is populated, the item slots are filled, and the gem links appear in the skills panel. 5: If any of those are empty, re-copy the code and repeat before making manual fixes.
A build that imports with warnings about unknown items or unavailable tree nodes is usually a version mismatch, not a broken code. Update the planner, or accept that a build from a different game version may need manual adjustment. If the import produces a character rather than a saved plan, expect the planner to show the character's current gear and tree as fetched, which is a snapshot rather than the author's intended final setup.
When There Is No Code to Copy
Not every build page exposes a code, and the reasons fall into recognizable categories. The author may have shared only a screenshot or a written summary. The page may be a character profile rather than a build plan, in which case the account-and-character import route is the correct approach. The site may require login to reveal export controls. Or the build may predate the export feature and never had a code attached.
The reversible checks, in order, are: confirm the page type (build plan versus character profile), confirm the profile is public, try the account-and-character import fields, and look for a forum or guide thread where the author posted the code directly. Only after those fail is it reasonable to reconstruct the build manually from the page's displayed tree, items, and gems, which is slower and error-prone but always possible.
Stop and reconsider the approach if a page asks you to install an unfamiliar browser extension or run a script to reveal a code. Legitimate build pages do not require that, and the request is a reason to leave the page rather than comply. Similarly, a code from an untrusted source is just text and cannot execute anything by itself, but it can reference items and configurations you did not expect; review an imported build before using it, especially if it came with a downloadable file rather than a paste string.
Common Failure Modes and Fixes
The clipboard holds a URL instead of a code. The copy control copied the page address. Return to the page and use the explicit code-copy action, or open the share dialog and copy from there.
The planner rejects the paste. The string is truncated or has trailing characters. Paste into a text editor, verify the prefix and the ending, and re-copy from the source.
The import succeeds but the tree is empty. The code was a character import rather than a build plan, or the league context is wrong. Check the import type and the selected league.
The build loads with unknown items. The planner version is older than the build. Update Path of Building and re-import; do not hand-edit the code.
The direct link does nothing. The protocol handler is not registered. Use the manual copy-and-paste route instead.
A profile-based import fails entirely. The character is private or the account name is mistyped. Verify visibility in the account's privacy settings and re-enter the names exactly.
Keeping Codes Usable and Sharing Your Own
Once a build is imported, treat the code as a snapshot. Save the build in the planner so you have a local copy that does not depend on the website. If you later modify the build, export a new code from the planner's share or export function and keep it with your notes; the website's version will not update to match your edits.
When you share a code, paste it as plain text in a code block rather than as a formatted link, and state the game version and league it was made for. Those two details prevent most of the import problems other people will hit. A code with no context is technically loadable but practically ambiguous, and ambiguity is what sends people back to searching for how to get a build code in the first place.