Lesson 06

Creating with artifacts

Estimated time: 20 minutes

Learning objectives

By the end of this lesson, you will be able to:


What are artifacts?

Artifacts are standalone, interactive outputs that Claude creates in a dedicated window alongside your conversation. Instead of getting a long block of code or text buried in the chat, you see your content rendered and ready to use—whether that's a working website, an interactive chart, or a document you can immediately download.

Claude automatically creates an artifact when content meets certain criteria:

Common artifact types

Claude can create different types of artifacts, each suited to different needs:

Word documents, Excel spreadsheets, PowerPoint presentations, and PDFs work differently. Claude creates those through a separate file creation capability, not as artifacts, and returns them to you as files you can download.

Creating your first artifact

Creating an artifact is as simple as having a conversation. Just describe what you want, and Claude will determine whether to present it as an artifact.

For example, you might say:

If Claude doesn't automatically create an artifact when you expect one, you can explicitly ask: "Create this as an artifact" or "Show me this in an artifact."

When Claude generates an artifact, it appears in a dedicated window to the right of your conversation. From here, you can:

Sharing and publishing artifacts

Once you've created something useful, you have several options for sharing it.

Copy or download: For personal use or sharing via other channels, use the copy or download buttons in the lower right corner of the artifact window.

Share within your organization (Claude for Work): Team and Enterprise users can share artifacts internally with colleagues. The shared artifact stays within your organization and requires team authentication to access.

Publish publicly: For free, Pro, and Max users, you can publish artifacts to make them accessible to anyone with the link. When you publish:

To publish, click the "Share" or "Publish" button in the upper right corner of the artifact. You can unpublish at any time by returning to that artifact and removing public access. Note: When you publish an artifact, it is publicly accessible via its link — anyone can view it, even without a Claude account. Published artifacts are not indexed by search engines, so they won't appear in Google results.

Tips for getting the most from artifacts

Be specific about what you want. "Build a budget tracker" is good, but "Build a monthly budget tracker where I can input expenses by category, see a pie chart breakdown, and get a warning when I'm over budget" is better.

Describe the end user. Telling Claude who will use the artifact helps it make appropriate design choices. "This flowchart is for new employees" leads to different results than "This flowchart is for the engineering team."

Iterate incrementally. Ask Claude to add one feature or make one change at a time. This makes it easier to identify what's working and catch issues early.

Request artifacts when needed. If you ask for something substantial and Claude responds in the chat instead of creating an artifact, just say "Please create that as an artifact."

Lesson reflection

Before moving on, consider:

What's next

In the next lesson, you'll learn about Skills — reusable instruction sets that teach Claude specialized workflows.

Feedback

As you progress through the course, we'd love to hear from you about how you are using concepts from the course in your work and any feedback you may have. Share your feedback here.

Acknowledgments and license

Copyright 2025 Anthropic. All rights reserved.