User Role Switcher
Instant switching between user roles in WordPress.
Use with caution
User Role Switcher works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 6 months ago, and scores 60/100 on our health check.
- Small user base (100+ active installs)
- Very few reviews so far
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where User Role Switcher stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| role switcher | #2 |
| switch user | #15 |
| testing | >100 |
| user management | #64 |
| user roles | #45 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 2 reviews
About User Role Switcher
From the official readme · v0.2.4Description
This plugin allows you to quickly swap between user roles in WordPress at the click of a button. You’ll be instantly switched to the new user role. This is handy for test environments where you regularly log out and in between different accounts, or for administrators who need to switch between multiple accounts to test the feature in different user roles.
Features
- Switch Role To: Instantly switch to any user role from the admin bar at top.
- Switch back: Instantly switch back to your originating role.
- Compatible with WordPress, WordPress Multisite, WooCommerce.
Security
- Only users with the ability to edit other users can switch user roles. By default this is only Administrators on single site installations, and Super Admins on Multisite installations.
Usage
- Once plugin is activated, you will see Switch Role To in the top admin bar.
- Clicking this will bring the list of user roles available in the system.
- Click on any user role you want to test as.
- You can switch back to your originating user role via the Switch back link on the top admin bar.
Changelog
0.2.4
- [Security] Role switching now requires the
promote_userscapability (administrators / super admins) instead ofmanage_options, preventing a lower-trust custom role grantedmanage_optionsfrom self-assigning a higher role such as administrator.
0.2.3
- [Security] Added a capability check to the role-switch handler so only administrators (or an already-switched user switching back) can switch roles.
- [Security] The “Switch Back” action now verifies its nonce before changing any roles.
- [Security] Escaped role-switch URLs and labels in the admin bar and floating button output.
- [Security] Hardened the post-switch redirect to a safe, local URL (no longer trusts the host header).
- [Fix] Replaced the deprecated
FILTER_SANITIZE_STRINGwith core sanitization for PHP 8.1+ compatibility.
0.2.0
- [Improvements] Added floating action button when role is switched.
0.1.0
- Initial release
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best User Role Switcher alternatives
All role switcher plugins →| Rank | Plugin | Active installs |
|---|---|---|
| 2 |
|
10+ |
| 3 |
|
<10 |
FAQ
User Role Switcher: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is User Role Switcher free?
Yes. User Role Switcher is free to download and use from the official WordPress.org plugin directory.
Is User Role Switcher safe to use in 2026?
User Role Switcher works, but test it on a staging site before relying on it in 2026. It runs on 100+ sites, is rated 5/5 and was last updated 6 months ago, and scores 60/100 on our health check.
How many websites use User Role Switcher?
User Role Switcher is active on 100+ WordPress websites and has been downloaded 6,340 times since it launched in February 2020. It was downloaded 302 times in the last 30 days.
Does User Role Switcher work with WordPress 7.1?
User Role Switcher is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does User Role Switcher need?
User Role Switcher requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was User Role Switcher last updated?
The latest version, 0.2.4, was released on June 18, 2026 (6 months ago).
Who makes User Role Switcher?
User Role Switcher is developed and maintained by Dhanendran Rajagopal.
What are the best alternatives to User Role Switcher?
The most popular alternatives to User Role Switcher are UserRoleSwitcher (10+ installs) and ABCode View As Role Switcher (<10 installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
