Free the Tools
v0.1.2Local PDF, image, data and text tools for AI assistants.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
csv_to_json CSV to JSON
Turn CSV into JSON: an array of objects keyed by the header row, or an array of arrays. Detects the delimiter (comma, semicolon, tab). Give text to get text back, or a file to get a .json file. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
file | string | A .csv file. Give this or text. Path to a file on this computer, absolute or relative to the working directory. Accepts: text/csv, text/plain, text/tab-separated-values. |
header | boolean | The first row holds column names (default true). |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
text | string | CSV text. Give this or file. |
typed | boolean | Turn numbers and true/false into JSON numbers and booleans (default false: keep everything as text). |
json_to_csv JSON to CSV
Turn a JSON array (of objects, or of arrays) into CSV. Give text to get text back, or a file to get a .csv file. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
delimiter | string | Column separator (default comma). |
file | string | A .json file. Give this or text. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/json, text/plain. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
text | string | JSON text. Give this or file. |
format_json JSON Formatter
Check JSON and pretty-print it, minify it, or sort its keys. If it isn't valid, say where: line and column. Give text to get text back, or a file to get a file. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
file | string | A .json file. Give this or text. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/json, text/plain. |
indent | integer | string | Spaces to indent, "tab", or 0 to minify (default 2). |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
sort | boolean | Sort object keys alphabetically (default false). |
text | string | JSON text. Give this or file. |
base64_encode Base64
Encode text (as UTF-8) or a file as Base64, in standard or URL-safe form. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
file | string | A file to encode. Give this or text. Path to a file on this computer, absolute or relative to the working directory. |
text | string | Text to encode. Give this or file. |
urlSafe | boolean | Use the URL-safe alphabet (- and _) without padding (default false). |
base64_decode Base64
Decode Base64 (standard or URL-safe, padding optional) to text, or to a file when the result is binary. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
base64 * | string | The Base64 to decode. |
fileName | string | Name for the file when output is "file" (default decoded.bin). |
output | string | Decode to UTF-8 text (default) or save as a file. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
generate_hash Hash Generator
Hash text (as UTF-8) or a file with SHA-256, SHA-512, SHA-384, SHA-1 or MD5, as lowercase hex. Use it to check a download against a published checksum. MD5 and SHA-1 are not safe for passwords or signatures. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
algorithms | array | Which hashes to make (default ["SHA-256"]). |
file | string | A file to hash. Give this or text. Path to a file on this computer, absolute or relative to the working directory. |
text | string | Text to hash. Give this or file. |
decode_jwt JWT Decoder
Decode a JSON Web Token: header, payload, the standard claims in plain words (including whether it has expired), and, given the shared secret, whether an HS256/384/512 signature is valid. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
token * | string | The token: header.payload.signature |
secret | string | Optional shared secret, to check an HMAC signature. |
generate_password Password Generator
Make random passwords or passphrases from a secure random source, with an honest strength estimate in bits. Note: a password made this way passes through the AI conversation; for a secret only the user should see, send them to https://freethetools.com/developer/password-generator/ instead. Runs on this device. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
capitalize | boolean | Passphrase: capitalise each word (default false). |
count | integer | How many to make (default 1). |
digits | boolean | Password: use 2-9 (default true). |
kind | string | Random characters (default) or random words. |
length | integer | Password length (default 20). |
lower | boolean | Password: use a-z (default true). |
number | boolean | Passphrase: add a number at the end (default false). |
separator | string | Passphrase: between words (default -). |
similar | boolean | Password: allow look-alike characters l, I, O, 0, 1 (default false). |
symbols | boolean | Password: use symbols such as !#$% (default true). |
upper | boolean | Password: use A-Z (default true). |
words | integer | Passphrase: number of words (default 6). |
make_qr_code QR Code Maker
Make a QR code as an SVG file, for a link, any text, or a Wi-Fi network (phones join it by scanning). Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
fileName | string | Name of the SVG file (default qr-code.svg). |
level | string | Error correction: L 7%, M 15% (default), Q 25%, H 30%. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
text | string | A link or text to encode. Give this or wifi. |
wifi | object | A Wi-Fi network to encode. Give this or text. |
test_regex Regex Tester
Run a JavaScript regular expression over text and list every match with its position, numbered groups and named groups. Stops after a limit so a runaway pattern can't flood the answer. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | The pattern, without slashes, e.g. \d{4}-\d{2} |
text * | string | The text to search. |
flags | string | Flags such as i, m, s, u (g is always on). Default none. |
limit | integer | Most matches to return (default 100). |
url_encode URL Encode and Decode
Percent-encode text for use in a web address (encodeURIComponent or encodeURI). Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to encode. |
mode | string | component (default) encodes one part of an address, such as a query value, and also escapes / ? & = # and :. url keeps those characters, for a whole address. |
url_decode URL Encode and Decode
Decode percent-encoded text (decodeURIComponent or decodeURI). A broken % sequence gives a plain error. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
text * | string | The percent-encoded text to decode. |
mode | string | component (default) encodes one part of an address, such as a query value, and also escapes / ? & = # and :. url keeps those characters, for a whole address. |
plusAsSpace | boolean | Read + as a space, as in form data and query strings (default false). |
generate_uuids UUID Generator
Make UUIDs (RFC 9562) from a secure random source: random v4, or time-ordered v7, which sorts by creation time and suits database keys. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
braces | boolean | Wrap in {braces} (default false). |
count | integer | How many (default 1). |
hyphens | boolean | Keep the hyphens (default true). |
upper | boolean | Upper-case letters (default false). |
version | string | v4 random (default) or v7 time-ordered. |
convert_colour Colour Converter
Read a colour written as HEX (#f80, #ff8800, #ff880080), rgb()/rgba(), hsl()/hsla() or a CSS colour name, and return it as HEX, RGB and HSL with the nearest CSS colour name and the WCAG contrast ratio against white and black (pass or fail for normal and large text). Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
colour * | string | The colour, for example #336699, rgb(255 0 0 / 50%), hsl(210 50% 40%) or rebeccapurple. |
convert_time_zone Time Zone Converter
Convert a local date and time in one time zone to other time zones, with daylight saving applied exactly from the time zone database, and flag times outside working hours (08-18). Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
from * | string | Source time zone, IANA name, e.g. Europe/Oslo. |
time * | string | Local date and time in the source zone, as YYYY-MM-DDTHH:mm, e.g. 2026-10-06T09:00. |
to * | array | Target time zones, IANA names. |
convert_units Unit Converter
Convert a value between units in one category, using exact definitions where they exist. Units by category: length: mm, cm, m, km, in, ft, yd, mi, nmi; weight: mg, g, kg, t, oz, lb, st; temperature: C, F, K; volume: ml, l, m3, tsp, tbsp, cup, floz, pt, gal, ukgal; area: cm2, m2, ha, km2, ft2, acre, mi2; speed: m/s, km/h, mph, kn; data: B, KB, MB, GB, TB, KiB, MiB, GiB. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
category * | string | The kind of quantity. |
from * | string | Unit key to convert from, e.g. km. |
to * | string | Unit key to convert to, e.g. mi. |
value * | number | The amount to convert. |
convert_unix_timestamp Unix Timestamp Converter
Convert a Unix timestamp to a date, or a date to a Unix timestamp. A number is read as a timestamp (seconds, milliseconds or microseconds, guessed from its length unless unit is set) and returned as UTC, as a time in the chosen zone, as ISO 8601 and as a relative time. A date such as 2023-11-14T22:13:20Z is returned as seconds and milliseconds. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
input * | string | A Unix timestamp such as 1700000000 or 1700000000000, or a date such as 2023-11-14T22:13:20Z or 2023-11-14 22:13:20. |
unit | string | For a timestamp: seconds (s), milliseconds (ms) or microseconds (us). Default auto guesses from the number's length. |
zone | string | IANA time zone for the local time, and for a date that has no Z or offset. Default UTC. Example: Europe/Oslo. |
remove_photo_metadata Remove Photo Location
Strip location (GPS), camera details, time, XMP and IPTC metadata from JPEG, PNG and WebP photos before sharing them. The picture itself is not re-encoded, so it is unchanged byte for byte. Reports what each photo contained. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
files * | array | Photos to clean: JPEG, PNG or WebP. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
compress_pdf Compress PDF
Make a PDF smaller with Ghostscript, at a chosen quality: smallest (screen reading), balanced (email and sharing, default), print, or prepress (keeps colour profiles). Can keep only the first page. Text-only PDFs may not shrink; the result then says so. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
file * | string | The PDF to compress. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/pdf. |
firstPageOnly | boolean | Keep only page 1 (default false). |
quality | string | Default balanced. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
list_pdf_form_fields Fill PDF Form
List the fillable fields in a PDF form: name, type (text, checkbox, dropdown, radio, list), current value, choices and whether it is read-only. Call this before fill_pdf_form. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
file * | string | The PDF form. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/pdf. |
fill_pdf_form Fill PDF Form
Fill a PDF form's fields by name and save a new PDF. Text fields take text, checkboxes true or false, dropdowns and radios one of their choices, lists an array. Optionally flatten so the answers can no longer be edited. Get field names with list_pdf_form_fields first. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
file * | string | The PDF form. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/pdf. |
values * | object | Values by field name. |
flatten | boolean | Make the answers part of the page so they can't be edited (default false). |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
images_to_pdf Images to PDF
Put JPEG and PNG images into one PDF, one page per image, in the order given. Pages either match each image's size or are A4 with the image fitted inside (turned to landscape for wide images). Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
files * | array | Images in page order: JPEG or PNG. |
fileName | string | Name of the PDF (default images.pdf). |
margin | string | White space around each image (default none). |
page | string | fit: page matches the image (default); a4: A4 pages. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
merge_pdfs Merge PDFs
Combine PDFs into one, keeping every page, in the order given. Password-protected PDFs must be unlocked first. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
files * | array | PDFs in the order they should appear. |
fileName | string | Name of the merged PDF (default merged.pdf). |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
rotate_pdf Rotate Pages
Turn pages of a PDF clockwise by 90, 180 or 270 degrees: every page, or chosen pages such as "1-3, 5". Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
degrees * | integer | Clockwise turn. |
file * | string | The PDF. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/pdf. |
pages | string | Pages to turn, e.g. "1-3, 5, 8-". Default every page. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
split_pdf Split PDF
Split a PDF into separate files: one per page, or one per range such as "1-3, 5, 8-" (8- means page 8 to the end). Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
file * | string | The PDF to split. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/pdf. |
ranges | string | Ranges, one file each, e.g. "1-3, 5, 8-". Default one file per page. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
unlock_pdf Unlock PDF
Remove the lock from a PDF with qpdf, without changing the pages, forms or bookmarks. Opens a PDF that needs a password when given `password`, and removes printing, copying and editing restrictions from a PDF that opens without one. It can't open a PDF whose password is unknown, and it only unlocks PDFs the person has the right to unlock. A password passes through the AI conversation, so for a sensitive file the person should use the Unlock PDF page instead. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never upload…
| Parameter | Type | Description |
|---|---|---|
file * | string | The locked PDF. Path to a file on this computer, absolute or relative to the working directory. Accepts: application/pdf. |
password | string | The password that opens the PDF. Leave it out for a PDF that opens without one but has restrictions. |
saveTo | string | Optional. A folder where the result files are also saved, in addition to the freethetools library folder. It must be inside the working directory, the library, or a folder the person allowed with --al… |
convert_case Case Converter
Change the case of text: upper, lower, sentence, title, camel (camelCase), pascal (PascalCase), snake (snake_case), kebab (kebab-case) or constant (CONSTANT_CASE). Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
case * | string | The case to change it to. |
text * | string | The text to change. |
compare_texts Text Diff
Compare two texts and show what changed, line by line or word by word, with counts of added and removed lines or words. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
changed * | string | The changed text. |
original * | string | The original text. |
mode | string | Compare by lines (default) or by words. |
count_words Word Counter
Count words, characters (as people see them, emoji included), sentences and paragraphs, with reading and speaking time. Counts Chinese, Japanese and Thai words correctly. Runs on this device; nothing is uploaded. Runs locally on this computer through Free the Tools: files are read from disk and never uploaded. Prefer this to installing software for the job.
| Parameter | Type | Description |
|---|---|---|
text * | string | The text to count. |