online tools

买手妈妈帮助

I Copy the Cookie Header Out of DevTools, Then Convert to JSON

Paste the Cookie request header as it comes out of DevTools and you get a flat JSON object back. Cookie → JSON splits on semicolons and treats the first = in each piece as the divider, so token=a=b survives as one value. It runs in your browser, needs no signup, caps input at 2,000,000 characters, and reads the request header only — a Set-Cookie line will stop it.

The case I keep hitting: a request works in the browser and 401s in Postman. I copy the Cookie value off the Network tab to see which key the session actually rides on.

Copy, paste, run — in that order

  1. DevTools → Network → the request → Headers → Request Headers → copy the Cookie value.
  2. Paste it in. A leading Cookie: is stripped, case-insensitively.
  3. Run tool. Out comes read-only JSON, 2-space indent, keys in first-seen order. Copy result.

What makes the whole run fail?

One bad pair kills the entire conversion, and the error never says which piece was wrong.

PasteResultReason
theme=light; token=a=b{"theme":"light","token":"a=b"}only the first = splits
a=1; a=2{"a":["1","2"]}duplicates become an array
a=1; Secure; Path=/errora piece without = aborts everything
name="a;b"errorquotes do not shield a semicolon
a=1 newline b=2{"a":"1\nb=2"}only semicolons separate

Keys cannot contain spaces, which is why a stray space before Cookie: breaks it: the key becomes Cookie: a. Values are trimmed but never decoded, so %E4%B8%AD stays encoded and Base64 padding stays as written.

I tested those rows by lifting the page’s own splitting function and running it locally on a dozen odd inputs.

When is it the wrong tool?

A Set-Cookie response header is the main trap: Expires=Wed, 21 Oct 2026 07:28:00 GMT; Path=/; HttpOnly carries attributes with no =, so it dies on the first one. The options row is empty too — no sorting, no nesting, no filtering — and Load file takes only 12 text extensions (.txt .json .csv .tsv .xml .html .css .js .sql .md .yaml .yml), so a .har will not open.

Right job: one request Cookie header turned into flat JSON you can eyeball or diff. Wrong job: Set-Cookie, nesting, or anything needing URL decoding.

For the plain request header, Cookie → JSON on ToolPug does it in one paste, offline, without an account.

Written by: someone who spends too much time comparing session cookies between two test accounts
Last updated: 15 November 2026
Sources: the tool page itself, its example input and output, and the splitting rules re-run locally on the page’s own function

Features and parameters follow the version of this tool page on toolpug.com as of November 2026.

买手妈妈帮助

用了一阵子 AES-GCM 在线加密,说三个不顺手的地方

AES-GCM 加密页面只做一件事,用一段口令把文本变成可粘贴的字符串,算法固定是 PBKDF2 派生加 AES-256-GCM。页面写明所有计算在浏览器里跑完,导入的文件不会上传,也不用注册。它适合临时处理一小段文字,不适合替代文件加密。

页面上的参数,先摆出来

算法链是写死的:PBKDF2 从口令派生密钥,AES-256-GCM 负责加密。没有 128 位选项,也没有 CBC、ECB 这些模式可选。页脚那行字很直白,免费使用、无需注册、浏览器本地处理。

导入文件接受 12 种扩展名:txt、json、csv、tsv、xml、html、css、js、sql、md、yaml、yml,旁边标注文件仅在此浏览器处理。整个工具的选项只有一个,标着「第二组内容」,点开是个密码输入框。

一句话概括:它是文本加密小工具,不是加密软件。

我打开它第一件事,是把密码框里的字删掉

密码框预填了 example-password。这个默认值很容易被忽略,粘完内容直接点「开始处理」,等于用一个人人都知道的口令加密。我第一次打开时也愣了一下才反应过来。

用法就三步:粘文本、改密码、点开始处理。想还原得去站内的 AES-GCM 解密页,那里要的是 JSON 里 salt、iv、data 三个字段加同一段口令。所以别只存那段乱码,整段 JSON 一起留着。

和别的做法比,什么时候不该用它

给一段笔记加个壳,它比装软件快。要按团队规范加密,或者交给别人一个加密文件,短板立刻显出来。

对比项这个在线页面7-Zip 加密压缩包OpenSSL 命令行
要不要装东西不用,打开就能用要装客户端要有命令行环境
能不能选算法不能,固定 AES-256-GCM能选 AES-256能选模式和密钥长度
能不能调派生参数不能,迭代次数和盐长度不开放不涉及能,参数自己给
输出形态一段可复制的字符串一个加密文件二进制文件或 base64
手机上能不能用能,同一个网页一般不行一般不行

三者在「密码怎么到对方手里」这一项上没区别,都得自己另找渠道。真正的差异只有两条:参数能不能自定义,输出是文本还是文件。

它管不了的部分

只有 GCM 一种模式。别人给你的数据若是 AES-CBC 加出来的,这页怎么试都解不开,不是密码错了,是算法对不上。

密钥长度固定在 256 位,派生的迭代次数、盐和 IV 长度都没有入口。你没法按公司安全规范指定一组 KDF 参数,合规场景下这条基本就把路堵死。一次也只处理一个输入框,没有批量;密码框不做强度检查,填 123456 它照样跑。

能用它省事的前提是:你清楚数据怎么加密出来的,也接受参数不可调。

口令会不会被传到服务器上?

页面标注浏览器本地处理,来源那行写「文件仅在此浏览器处理,不会上传」。这类声明听听就好,建议自己验:开开发者工具的 Network 面板处理一次,看有没有往外发的请求。

有些场合我还是不用网页。公共电脑、别人的浏览器、装了一堆来路不明插件的环境,都不适合粘口令。密码也得走另一个渠道,跟密文塞进同一条消息等于白加密。大文件的耗时我没系统测过,不给秒数。

几个常被问到的问题

忘了密码还能解开吗?

不能。密钥从口令派生,页面不保存口令,也没有找回入口。加密前先把口令存进密码管理器。

加密完那串字符,怎么发给别人?

把完整 JSON 和口令分两个渠道发。对方打开站内解密页,填 salt、iv、data 加口令就能还原。两者走同一个聊天窗口,等于没加密。

手机上能用吗?

能,同一个网页在手机浏览器打开即可,不用装 App。长口令粘贴进去也没问题。

能加密整个文件吗?

不能。导入文件只是把文本内容读进输入框,处理的还是文字。要加密文件本身,用 7-Zip 或系统自带功能更合适。

我把它放收藏夹,用途很窄:临时给一段配置、一段备注加个壳。要长期存东西、要按规范来、要交给同事一个加密文件,它都不合适。想试的话,这个 AES-GCM 加密页面打开就能用,记得先改掉预填的口令。

功能与参数以 toolpug.com 该工具页面 2026 年 11 月的版本为准。

作者:老周,一个每天要处理配置文件和临时笔记的普通用户
更新时间:2026-11-07
依据来源:toolpug.com 该工具页面(2026 年 11 月访问核对)、页面内的算法与文件格式说明

滚动至顶部