WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by DeveloperWil v2.4.6

Always Edit In HTML

Always opens up a specific page or post in HTML mode to preserve HTML code (classic editor only).

Always Edit In HTML

The facts

Rating
4.4★ from 7
Active installs
1k+
Price
Free
Last updated
23 Aug 2026
Added
Apr 2011
Requires WP
5.2
Tested up to
WP 7.1
Requires PHP
7.4
Downloads
88,124

Our analysis

AI-assisted

Always Edit In HTML is a WordPress plugin designed to ensure that you always edit your posts and pages in HTML mode. It removes the 'Visual' tab from the editor, preventing any automatic formatting or removal of your HTML code that can occur when switching between tabs.

This plugin is particularly useful for users who frequently work with HTML in their content and want to maintain the integrity of their code. It is compatible with the Classic Editor plugin but does not function with the Gutenberg block editor.

Best for: This plugin suits users who regularly edit HTML in WordPress and prefer to avoid automatic formatting.

What it does well

  • Removes the Visual tab from the editor
  • Preserves HTML code when saving or publishing
  • Works with the Classic Editor plugin

Where it falls short

  • Does not work with the Gutenberg block editor
  • Limited information on additional features

Verdict

Always Edit In HTML provides a straightforward solution for maintaining HTML code integrity in WordPress. It is a practical choice for those who rely on HTML in their content creation.

From the developer

DeveloperWil's own description of Always Edit In HTML, lightly tidied.

If you find yourself entering HTML code into the WordPress page/post editor only to have it reformatted or worse removed when in Visual mode then here is the solution for you.

Always Edit In HTML is a WordPress plugin that removes the “Visual” tab in the page/post editor and opens up your page or post in HTML mode, preserving your HTML code.

Why would you need this plugin?

The WordPress page/post editor has two tabs at the top right – “Visual” and “Text”.

  1. The Text tab allows you to enter HTML code onto the page or post and when saving or publishing the post it preserves your code just the way you entered it.
  2. The Visual tab has all the fancy writing style tools but when you save or publish your page or post, WordPress parses and formats the content which may results in your HTML code not working or even being removed.

WordPress does not remember the tab option for each page or post. It will open up a page or post using whichever Visual or Text tab you last used.

This means that if you were editing a post using the Visual tab, saved it and then edited the page or post you had entered the HTML code into, that page would open in Visual mode and you could loose your HTML code.

If only there was a plugin that gave you the option to always open up a page or post in HTML

Ta da! Here’s one.

Note: For WordPress 5.x users, this plugin will still work when the Classic Editor plugin is installed and enabled. It does not work with the Gutenberg block editor.

Plugin Page

Always Edit In HTML

Read the full description on the official page →

Tagged as