概要
Safety-first PowerShell debloater for Brave on Windows, macOS, and Linux. Uses enterprise policies, dry-run by default, with backups and restore.
システム・インフラ計測したスター増加
- 24時間
- -1
- 7日間
- -1
- 15日間
- +3
- 1か月
- +4
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
BraveDebloater
Turn off the parts of Brave Browser you do not use, and undo it whenever you want.
BraveDebloater is a free PowerShell script that switches off Brave extras such as Rewards, Wallet, VPN, Leo AI, News, and telemetry. It uses the official Brave and Chromium enterprise policies, so it does not patch Brave or install anything into it.
- Preview first. The script only shows what it would change. It leaves Brave's policies and profile files alone until you add
-Apply. - Easy to undo. Each apply run saves a backup, and one command restores it.
- Nothing hidden. Every policy it sets is listed in
brave://policy.
Windows/macOS/Linux
·
PowerShell runtime
·
Open source
Prefer clicking to typing? Pick features and copy the matching command at bravedebloater.tersa.tech.
Not affiliated with or endorsed by Brave Software.
Demo
The clip above is a 34-second cut. Watch the full Linux demo (87 seconds, MP4): preview the cleanup, apply it, and undo it from a backup.
Quick Start
You need PowerShell: Windows PowerShell 5.1 (built into Windows) or PowerShell 7 on Windows, macOS, or Linux.
1. Install. Paste this into PowerShell. It downloads the latest release, checks its SHA256 hash, and does not touch Brave.
irm https://raw.githubusercontent.com/osfv/BraveDebloater/main/install.ps1 | iex
The installer prints the folder it used. Open PowerShell in that folder for the next steps. Scoop, winget, and manual downloads are covered in docs/install.md.
2. Preview. This lists every change and writes nothing.
.\Invoke-BraveDebloat.ps1
3. Apply. If the preview looks right, run it again with -Apply. A backup is saved first.
.\Invoke-BraveDebloat.ps1 -Apply
On Linux the policy file lives in /etc/brave/policies/managed and applies to every user on the computer. Previews work as shown. Apply and undo (step 5) need root:
sudo pwsh ./Invoke-BraveDebloat.ps1 -Apply
sudo pwsh ./Invoke-BraveDebloat.ps1 -UndoFromBackup Latest -Apply
4. Restart Brave. Open brave://policy to see the policies that loaded.
5. Undo, if you change your mind. Preview the restore, then add -Apply.
.\Invoke-BraveDebloat.ps1 -UndoFromBackup Latest
.\Invoke-BraveDebloat.ps1 -UndoFromBackup Latest -Apply
What It Removes
Choose how far to go with -Preset. Without it, the script uses Extreme.
| Preset | What it turns off |
|---|---|
Standard |
Brave extras: Rewards, Wallet, VPN, Leo AI Chat, News, Talk, Playlist, Email Aliases, Speedreader, and Wayback prompts. Brave telemetry: P3A, stats ping, and Web Discovery. |
High |
Everything in Standard. It also keeps Brave's privacy protections on (De-AMP, debouncing, Global Privacy Control, tracking parameter filtering, reduced language fingerprinting) and turns off Chromium metrics, URL-keyed data collection, remote search suggestions, network prediction, and remote spellcheck. |
Extreme |
Everything in High, plus extra UI: background mode, promotions, Browser Labs, media recommendations, new tab cards, shopping list, QR generator, payment method queries, autofill, translate prompts, and the Google search side panel. |
.\Invoke-BraveDebloat.ps1 -Preset Standard
Optional add-ons:
| Add this | To |
|---|---|
-LockShields |
Enforce stricter Brave Shields defaults: ad blocking, fingerprinting protection, HTTPS upgrades, and stricter referrers. |
-IncludeProfilePreferences |
Also hide some new tab, sponsored background, and toolbar items. This edits each profile's Preferences file, so close Brave first. |
-DnsOverHttps |
Set Brave's DNS-over-HTTPS mode, with a resolver you choose. It adds to the preset or features in the same command. See DNS control. |
Turn Off One Feature
Each command is a preview and names the policies it would set. Add -Apply to write them, then restart Brave.
| I want to | Command |
|---|---|
| Disable Brave Rewards and BAT prompts permanently | .\Invoke-BraveDebloat.ps1 -OnlyFeature Rewards |
| Remove the Brave Wallet icon and prompts | .\Invoke-BraveDebloat.ps1 -OnlyFeature Wallet |
| Hide Brave VPN | .\Invoke-BraveDebloat.ps1 -OnlyFeature VPN |
| Turn off Leo AI (sidebar, address bar, context menu) | .\Invoke-BraveDebloat.ps1 -OnlyFeature LeoAI |
| Remove Brave News from the new tab page | .\Invoke-BraveDebloat.ps1 -OnlyFeature News |
| Disable Brave Talk | .\Invoke-BraveDebloat.ps1 -OnlyFeature Talk |
| Disable Playlist | .\Invoke-BraveDebloat.ps1 -OnlyFeature Playlist |
| Disable Email Aliases | .\Invoke-BraveDebloat.ps1 -OnlyFeature EmailAliases |
| Stop Brave telemetry (P3A, stats ping, Web Discovery) | .\Invoke-BraveDebloat.ps1 -OnlyFeature BraveTelemetry |
| Stop Chromium metrics and URL-keyed data collection | .\Invoke-BraveDebloat.ps1 -OnlyFeature ChromiumTelemetry |
| Hide sponsored new tab backgrounds and cards | .\Invoke-BraveDebloat.ps1 -OnlyFeature NewTabBackgrounds,NewTabCards -IncludeProfilePreferences |
Combine several with commas (-OnlyFeature Rewards,Wallet,VPN,LeoAI), or start from a preset and keep what you like with -ExcludeFeature News,LeoAI. -ListFeatures prints every feature name.
What It Does Not Do
- It does not disable Brave updates. Update policies are on the blocklist and the tool refuses to write them.
- It does not turn off Brave Shields, add Shield allowlists, or weaken Safe Browsing. The optional
-LockShieldsadd-on only enforces stricter Shields defaults. - It does not edit your hosts file, remove extensions, patch Brave binaries, or install anything into Brave.
- It does not run hidden. Every policy it sets is listed in
brave://policywith its value, and-Doctorreports the current state read-only. - It does not change Brave's policies or profile files without
-Apply. A report (-ReportPath) or export (-ExportPolicyPath) writes the file you name in a preview too, so do not name Brave's own policy file as the export. Unless you use-NoBackupfor a policy-only run, every apply run leaves a JSON backup that-UndoFromBackupcan restore.
Screenshots
Read-only output from the script. Click a picture to open it full size.
| Preview (default run) | Health check (-Doctor) |
Feature list (-ListFeatures) |
|---|---|---|
![]() |
![]() |
![]() |
Handy Commands
| I want to | Command |
|---|---|
| Check what is set right now, without changing anything | .\Invoke-BraveDebloat.ps1 -Doctor |
| See every feature name | .\Invoke-BraveDebloat.ps1 -ListFeatures |
| Answer yes or no for each feature | .\Invoke-BraveDebloat.ps1 -Customize |
| Save an HTML report of the run | .\Invoke-BraveDebloat.ps1 -ReportPath .\brave-report.html |
| List my backups | .\Invoke-BraveDebloat.ps1 -ListBackups |
| Apply for every user on a Windows computer (needs administrator) | .\Invoke-BraveDebloat.ps1 -Scope LocalMachine -Apply |
| Print the tool version for a bug report | .\Invoke-BraveDebloat.ps1 -Version |
The usage guide explains every option.
Why Policies Instead of Settings
Brave can reset or re-promote settings after updates. Enterprise policies stay enforced on every start, show up in brave://policy, and come off cleanly when you restore the backup.
| Approach | Survives Brave updates | Visible in brave://policy |
Undo | Touches binaries, hosts, or extensions |
|---|---|---|---|---|
| BraveDebloater policies | Yes | Yes | Backup restore | No |
brave://settings toggles |
Often reset or re-promoted | No | Manual | No |
A random .reg gist |
Maybe | If the gist used policies | Only if you kept a copy | Sometimes |
| Scripts that disable Shields or updates | Yes, but they weaken Brave | Yes | Painful | Sometimes |
On Windows and macOS, Brave Origin is a paid stripped-down build. This tool keeps the Brave you already have and applies the same class of official policies for free.
Platforms
| Platform | Where the policies go |
|---|---|
| Windows | Brave policy keys in the registry |
| macOS | defaults for the current user (Recommended level), or a configuration profile you export and install for the whole machine |
| Linux | A JSON policy file in /etc/brave/policies/managed/. It applies to every user as mandatory policy, and writing it needs sudo. |
| Android, iOS/iPadOS | No local writes. -ExportPolicyPath creates a file for your MDM. |
Details are in Platform support.
More Help
- Install options: Scoop, winget, manual download, and how to verify a release
- Usage guide: presets, feature toggles, DNS, profile preferences, Doctor, restore, and exports
- Changelog and roadmap
- Contributing: project checks and the release process
- Security policy
Sources
Policy names and values come from Brave's official Group Policy documentation and Brave policy templates:
- https://support.brave.app/hc/en-us/articles/360039248271-Group-Policy
- https://brave-browser-downloads.s3.brave.com/latest/policy_templates.zip
docs/debloatable-validation.md lists the template version, the policy choices, and the validation commands.
License
関連プロジェクトを探す
読み込み中…



