What is this page?
JanitorAI stores bot bios and script pages as raw HTML, and its server keeps almost
everything you send it, inline styles, gradients, flex and grid layouts, JAI's
own font set. The catch is that JAI's built-in editors don't let you send any of that.
The only way in is JAI's own API, which is what this page does for you.
This is a front-end for the method described in
DelightfulTempe's JanitorAI Unrestricted Bot Bio Guide.
Instead of opening devtools and pasting a script by hand, you paste your HTML here,
preview it against JAI's real stylesheet, and publish it to a character or a script
page in one click.
What it does
- Renders a live preview using JAI's actual stylesheet, so what you see is what the
page will show. The editor and the preview can scroll together, so the paragraph
you are typing in is always the one you are looking at. That is off by default:
the Sync scroll switch in the preview header turns it on, and your choice
is remembered the next time you open the page.
- You can type straight into the preview as well. The Edit in preview switch
in the preview header makes it editable, and whatever you change there is written
back into the HTML source for you, so you can fix a typo or rewrite a paragraph
without hunting through markup. It is on by default; turn it off when you want the
preview to be read-only again.
- Handles the fiddly parts: it pulls the ID out of the URL, works out whether
that link is a bot or a script page, and minifies the payload before sending.
- Format HTML does the two tidy-up passes in one go: it
beautifies a minified bio so it's editable again, and it removes
what JanitorAI's server strips anyway:
<style>,
<script> and <link> tags,
<iframe>, <svg>,
<math>, <object>,
<embed>, <noscript>,
<xmp>, inline on*
handlers, javascript: and data: links,
every position declaration, and every occurrence of the
text z-index (JAI deletes that word from CSS, text and
URLs alike, and the dangling :5 it leaves behind kills
the rest of that style attribute). The same cleaning pass
runs automatically before a publish, and on everything you import, so
nothing you send gets mangled. Load Example HTML drops in a
full finished bio you can use as a starting point, and
Load HTML File pulls an .html file off your own
device through the same pass, so it arrives formatted and already
clean. Save HTML goes the other way: it writes what is in the
editor out to an .html file, and on Chrome, Edge and
Brave it opens your browser's own save dialog so you choose the name
and the folder. Elsewhere it asks for a name and downloads the file.
Nothing is uploaded, the file is written straight from your browser.
- Import HTML from JAI opens a popup for any public bot or script link,
reads the HTML that page already has stored, and drops it into the editor
already formatted, images and all. The page's own
<link>,
<meta> and comment markup is left behind. The read is
made by the browser extension,
so it happens inside a janitorai.com session of your own and no token is ever
asked for. Useful for keeping a copy of your own work, or for seeing how
somebody else built theirs. It only reads public pages, and it never touches
the page you import from.
- AI Prompt opens a popup holding a ready-made brief for an AI
assistant. It spells out what JanitorAI's server strips, which fonts are
really loaded, and which CSS is known to work, so a model can write bio
HTML that survives the pipeline and comes out looking like something.
Copy it, paste it into your model of choice, edit it, and save your own
version. It lives in this browser, same as everything else here.
- Reports back what JAI answered, including the sanitised error body when
a publish is rejected.
How publishing works now
JanitorAI started checking every save with a Cloudflare Turnstile challenge. The
token it issues is tied to janitorai.com, is good for one request, and
expires in about five minutes, so no website can obtain one on your behalf. The
save therefore has to be made from a janitorai.com page, and the Publish to
JAI button offers you two ways to arrange that:
- Browser extension, installs into Chrome, Edge or Brave and uses a
janitorai.com tab you already have open. It is the recommended route, because
it is also the one that can read a bot's HTML back for the importer.
- Console snippet, nothing to install. Press Build snippet, paste
one line into janitorai.com's console, and the save happens from that page.
Both send exactly the same request your own browser would have sent, and
none of them needs a password or a token from you. The editor, the preview, the
formatting, the import and the AI prompt still work here, exactly as before. The
Set-up & Downloads link at the top has step-by-step instructions and
the files.
There used to be a fourth route that saved straight from this website with your
access token. JanitorAI challenges every write now, so that route, and the token
field it needed, were both removed.
Nothing you enter leaves your browser
No account, no password, no token, and nothing stored on this website.
- Your target URL and your HTML are saved in your own browser's local
storage. Clearing the fields or the site data wipes them.
- The preview is built entirely in your browser. Your HTML is never uploaded while
you edit it.
- Publish never touches this site's server. The extension takes your
HTML straight to janitorai.com, where it uses the session
your browser is already signed in with. The console snippet does the same,
inside the JAI tab you paste it into.
- The only request that reaches this server is the one that builds the
console snippet, and it carries your HTML and nothing else.
Please be decent about it
Only publish to characters and scripts you own, and don't use this to break the layout
or experience of other people's pages. This works because JAI renders this HTML as
trusted content, abusing that is how it gets patched for everyone.