# CLAUDE_CODE_DISABLE_ARTIFACT

> Set to 1, it turns off the tool that posts web pages.

**Field:** Artificial Intelligence  
**Category:** Claude Code  
**Also known as:** CLAUDE_CODE_DISABLE_ARTIFACT=1

## Think of it like

It is like you take the printer away. Then nothing goes up on the wall.

## Definition

CLAUDE_CODE_DISABLE_ARTIFACT set to 1 turns off the Artifact tool. That tool posts your work as a private web page on claude.ai. Once this is set, no settings file can turn the tool back on. To turn it off from a settings file, set enableArtifact to false.

## Example

Jack's firm does not allow work to leave its laptops as web pages. He sets this, so the tool is gone for good.

## Example code

```bash
export CLAUDE_CODE_DISABLE_ARTIFACT=1
claude
```

Keep all output on this machine.

## Why it matters

Posting a page sends content off the machine. Some rules forbid that.

## Common mistake

Trying to turn it back on in a settings file. While this is set, nothing can.

## Three principles

- **Artifact tool off.** No pages.
- **Settings cannot undo it.** While set.
- **Or the setting.** enableArtifact false.

## Related terms

- [Artifact Tool](https://learn.benibix.com/term/ai/artifact-tool)
- [/artifacts Command](https://learn.benibix.com/term/ai/artifacts-command)

---

Source: https://learn.benibix.com/term/ai/claude-code-disable-artifact-variable
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-16
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
