Best.Free API - untuk pemaju
Automatikkan sebarang alat dari kod anda sendiri. Setiap alat interaktif memaparkan satu titik akhir POST yang mengembalikan tepat apa yang aplikasi web cipta.
Tiada kekunci untuk dimulakan
POST dan pergi. Had kadar per IP; log masuk kemudian untuk had yang lebih tinggi.
Sama seperti aplikasi web
Titik akhir menjalankan pemproses yang sama - output yang sama, tiada kejutan.
Dalam-ingatan, peribadi
Fail diproses dalam memori dan tidak disimpan pada cakera.
Mulakan Segera
Hantar POST ke mana-mana titik akhir alat di bawah. Alat mod JSON mengambil badan JSON; alat fail mengambil data bentuk berbilang bahagian. Balasan adalah fail selesai atau hasil JSON.
Titik Akhir (45)
https://best.free/api/tools/pdf-annotator/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-annotator/ \
-F 'file=@document.pdf' \
-F 'type=note' \
-F 'text=Please review this section' \
-F 'page=1' \
-F 'x=72' \
-F 'y=72' \
-o annotated.pdf
Python
import requests
files = {"file": open("document.pdf", "rb")}
data = {"type": "note", "text": "Please review this section", "page": 1, "x": 72, "y": 72}
r = requests.post("https://best.free/api/tools/pdf-annotator/", files=files, data=data)
with open("annotated.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("type", "note");
fd.append("text", "Please review this section");
fd.append("page", 1);
fd.append("x", 72);
fd.append("y", 72);
const r = await fetch("https://best.free/api/tools/pdf-annotator/", { method: "POST", body: fd });
const blob = await r.blob(); // the annotated.pdf
https://best.free/api/tools/audio-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/audio-converter/ \
-F 'file=@track.wav' \
-F 'format=mp3' \
-o audio.mp3
Python
import requests
files = {"file": open("track.wav", "rb")}
data = {"format": "mp3"}
r = requests.post("https://best.free/api/tools/audio-converter/", files=files, data=data)
with open("audio.mp3", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("format", "mp3");
const r = await fetch("https://best.free/api/tools/audio-converter/", { method: "POST", body: fd });
const blob = await r.blob(); // the audio.mp3
https://best.free/api/tools/background-remover/
buka alat →
cURL
curl -X POST https://best.free/api/tools/background-remover/ \
-F 'file=@portrait.jpg' \
-o no-background.png
Python
import requests
files = {"file": open("portrait.jpg", "rb")}
r = requests.post("https://best.free/api/tools/background-remover/", files=files)
with open("no-background.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/background-remover/", { method: "POST", body: fd });
const blob = await r.blob(); // the no-background.png
https://best.free/api/tools/barcode-generator/
buka alat →
cURL
curl -X POST https://best.free/api/tools/barcode-generator/ \
-H 'Content-Type: application/json' \
-d '{"text": "0123456789012", "symbology": "code128"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/barcode-generator/",
json={"text": "0123456789012", "symbology": "code128"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/barcode-generator/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "0123456789012", symbology: "code128" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/csv-to-json/
buka alat →
cURL
curl -X POST https://best.free/api/tools/csv-to-json/ \
-H 'Content-Type: application/json' \
-d '{"text": "name,age\\nAda,36", "delimiter": ",", "header": true}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/csv-to-json/",
json={"text": "name,age\nAda,36", "delimiter": ",", "header": True},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/csv-to-json/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "name,age\nAda,36", delimiter: ",", header: true }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/case-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/case-converter/ \
-H 'Content-Type: application/json' \
-d '{"text": "hello world from best free"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/case-converter/",
json={"text": "hello world from best free"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/case-converter/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "hello world from best free" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/compress-pdf/
buka alat →
cURL
curl -X POST https://best.free/api/tools/compress-pdf/ \
-F 'file=@document.pdf' \
-o compressed.pdf
Python
import requests
files = {"file": open("document.pdf", "rb")}
r = requests.post("https://best.free/api/tools/compress-pdf/", files=files)
with open("compressed.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/compress-pdf/", { method: "POST", body: fd });
const blob = await r.blob(); // the compressed.pdf
https://best.free/api/tools/image-crop/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-crop/ \
-F 'file=@photo.jpg' \
-F 'x=0' \
-F 'y=0' \
-F 'width=400' \
-F 'height=300' \
-o cropped.png
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"x": 0, "y": 0, "width": 400, "height": 300}
r = requests.post("https://best.free/api/tools/image-crop/", files=files, data=data)
with open("cropped.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("x", 0);
fd.append("y", 0);
fd.append("width", 400);
fd.append("height", 300);
const r = await fetch("https://best.free/api/tools/image-crop/", { method: "POST", body: fd });
const blob = await r.blob(); // the cropped.png
https://best.free/api/tools/currency-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/currency-converter/ \
-H 'Content-Type: application/json' \
-d '{"amount": 100, "from": "USD", "to": "EUR"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/currency-converter/",
json={"amount": 100, "from": "USD", "to": "EUR"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/currency-converter/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ amount: 100, from: "USD", to: "EUR" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/document-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/document-converter/ \
-F 'file=@document.docx' \
-F 'format=pdf' \
-o document.pdf
Python
import requests
files = {"file": open("document.docx", "rb")}
data = {"format": "pdf"}
r = requests.post("https://best.free/api/tools/document-converter/", files=files, data=data)
with open("document.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("format", "pdf");
const r = await fetch("https://best.free/api/tools/document-converter/", { method: "POST", body: fd });
const blob = await r.blob(); // the document.pdf
https://best.free/api/tools/ebook-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/ebook-converter/ \
-F 'file=@book.mobi' \
-F 'format=epub' \
-o book.epub
Python
import requests
files = {"file": open("book.mobi", "rb")}
data = {"format": "epub"}
r = requests.post("https://best.free/api/tools/ebook-converter/", files=files, data=data)
with open("book.epub", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("format", "epub");
const r = await fetch("https://best.free/api/tools/ebook-converter/", { method: "POST", body: fd });
const blob = await r.blob(); // the book.epub
https://best.free/api/tools/favicon-maker/
buka alat →
cURL
curl -X POST https://best.free/api/tools/favicon-maker/ \
-F 'file=@logo.png' \
-o favicons.zip
Python
import requests
files = {"file": open("logo.png", "rb")}
r = requests.post("https://best.free/api/tools/favicon-maker/", files=files)
with open("favicons.zip", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/favicon-maker/", { method: "POST", body: fd });
const blob = await r.blob(); // the favicons.zip
https://best.free/api/tools/image-compressor/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-compressor/ \
-F 'file=@photo.jpg' \
-F 'quality=70' \
-F 'format=jpg' \
-o compressed.jpg
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"quality": 70, "format": "jpg"}
r = requests.post("https://best.free/api/tools/image-compressor/", files=files, data=data)
with open("compressed.jpg", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("quality", 70);
fd.append("format", "jpg");
const r = await fetch("https://best.free/api/tools/image-compressor/", { method: "POST", body: fd });
const blob = await r.blob(); // the compressed.jpg
https://best.free/api/tools/image-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-converter/ \
-F 'file=@photo.jpg' \
-F 'format=png' \
-o image.png
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"format": "png"}
r = requests.post("https://best.free/api/tools/image-converter/", files=files, data=data)
with open("image.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("format", "png");
const r = await fetch("https://best.free/api/tools/image-converter/", { method: "POST", body: fd });
const blob = await r.blob(); // the image.png
https://best.free/api/tools/image-enhancer/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-enhancer/ \
-F 'file=@photo.jpg' \
-F 'contrast=1.1' \
-F 'color=1.15' \
-o enhanced.png
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"contrast": 1.1, "color": 1.15}
r = requests.post("https://best.free/api/tools/image-enhancer/", files=files, data=data)
with open("enhanced.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("contrast", 1.1);
fd.append("color", 1.15);
const r = await fetch("https://best.free/api/tools/image-enhancer/", { method: "POST", body: fd });
const blob = await r.blob(); // the enhanced.png
https://best.free/api/tools/image-metadata/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-metadata/ \
-F 'file=@photo.jpg' \
-F 'action=read' \
-o metadata.json
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"action": "read"}
r = requests.post("https://best.free/api/tools/image-metadata/", files=files, data=data)
with open("metadata.json", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("action", "read");
const r = await fetch("https://best.free/api/tools/image-metadata/", { method: "POST", body: fd });
const blob = await r.blob(); // the metadata.json
https://best.free/api/tools/image-optimizer/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-optimizer/ \
-F 'file=@photo.jpg' \
-o optimized.jpg
Python
import requests
files = {"file": open("photo.jpg", "rb")}
r = requests.post("https://best.free/api/tools/image-optimizer/", files=files)
with open("optimized.jpg", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/image-optimizer/", { method: "POST", body: fd });
const blob = await r.blob(); // the optimized.jpg
https://best.free/api/tools/image-resizer/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-resizer/ \
-F 'file=@photo.jpg' \
-F 'width=800' \
-F 'height=600' \
-F 'keep_aspect=True' \
-o resized.png
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"width": 800, "height": 600, "keep_aspect": True}
r = requests.post("https://best.free/api/tools/image-resizer/", files=files, data=data)
with open("resized.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("width", 800);
fd.append("height", 600);
fd.append("keep_aspect", true);
const r = await fetch("https://best.free/api/tools/image-resizer/", { method: "POST", body: fd });
const blob = await r.blob(); // the resized.png
https://best.free/api/tools/image-sharpener/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-sharpener/ \
-F 'file=@photo.jpg' \
-F 'amount=150' \
-F 'radius=2' \
-o sharper.png
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"amount": 150, "radius": 2}
r = requests.post("https://best.free/api/tools/image-sharpener/", files=files, data=data)
with open("sharper.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("amount", 150);
fd.append("radius", 2);
const r = await fetch("https://best.free/api/tools/image-sharpener/", { method: "POST", body: fd });
const blob = await r.blob(); // the sharper.png
https://best.free/api/tools/image-vectorizer/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-vectorizer/ \
-F 'file=@logo.png' \
-F 'mode=color' \
-o image.svg
Python
import requests
files = {"file": open("logo.png", "rb")}
data = {"mode": "color"}
r = requests.post("https://best.free/api/tools/image-vectorizer/", files=files, data=data)
with open("image.svg", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("mode", "color");
const r = await fetch("https://best.free/api/tools/image-vectorizer/", { method: "POST", body: fd });
const blob = await r.blob(); // the image.svg
https://best.free/api/tools/invoice-generator/
buka alat →
cURL
curl -X POST https://best.free/api/tools/invoice-generator/ \
-H 'Content-Type: application/json' \
-d '{"from": "Acme LLC", "to": "Client Co", "invoice_number": "INV-001", "items": "Design work | 10 | 75", "tax_rate": 8.5, "currency": "$"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/invoice-generator/",
json={"from": "Acme LLC", "to": "Client Co", "invoice_number": "INV-001", "items": "Design work | 10 | 75", "tax_rate": 8.5, "currency": "$"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/invoice-generator/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ from: "Acme LLC", to: "Client Co", invoice_number: "INV-001", items: "Design work | 10 | 75", tax_rate: 8.5, currency: "$" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/jpg-to-pdf/
buka alat →
cURL
curl -X POST https://best.free/api/tools/jpg-to-pdf/ \
-F 'files=@photo1.jpg' \
-F 'files=@photo2.jpg' \
-o images.pdf
Python
import requests
files = [("files", open(p, "rb")) for p in ["photo1.jpg", "photo2.jpg"]]
r = requests.post("https://best.free/api/tools/jpg-to-pdf/", files=files)
with open("images.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
for (const file of fileInput.files) fd.append("files", file);
const r = await fetch("https://best.free/api/tools/jpg-to-pdf/", { method: "POST", body: fd });
const blob = await r.blob(); // the images.pdf
https://best.free/api/tools/json-formatter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/json-formatter/ \
-H 'Content-Type: application/json' \
-d '{"text": "{\"b\":2,\"a\":1}", "action": "format", "indent": 2, "sort": true}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/json-formatter/",
json={"text": "{\"b\":2,\"a\":1}", "action": "format", "indent": 2, "sort": True},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/json-formatter/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "{\"b\":2,\"a\":1}", action: "format", indent: 2, sort: true }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/json-to-csv/
buka alat →
cURL
curl -X POST https://best.free/api/tools/json-to-csv/ \
-H 'Content-Type: application/json' \
-d '{"text": "[{\"name\":\"Ada\",\"age\":36}]"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/json-to-csv/",
json={"text": "[{\"name\":\"Ada\",\"age\":36}]"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/json-to-csv/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "[{\"name\":\"Ada\",\"age\":36}]" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/merge-pdf/
buka alat →
cURL
curl -X POST https://best.free/api/tools/merge-pdf/ \
-F 'files=@file1.pdf' \
-F 'files=@file2.pdf' \
-o merged.pdf
Python
import requests
files = [("files", open(p, "rb")) for p in ["file1.pdf", "file2.pdf"]]
r = requests.post("https://best.free/api/tools/merge-pdf/", files=files)
with open("merged.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
for (const file of fileInput.files) fd.append("files", file);
const r = await fetch("https://best.free/api/tools/merge-pdf/", { method: "POST", body: fd });
const blob = await r.blob(); // the merged.pdf
https://best.free/api/tools/pdf-organizer/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-organizer/ \
-F 'file=@document.pdf' \
-F 'pages=3,1,2' \
-F 'rotate=1:90,3:180' \
-o organized.pdf
Python
import requests
files = {"file": open("document.pdf", "rb")}
data = {"pages": "3,1,2", "rotate": "1:90,3:180"}
r = requests.post("https://best.free/api/tools/pdf-organizer/", files=files, data=data)
with open("organized.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("pages", "3,1,2");
fd.append("rotate", "1:90,3:180");
const r = await fetch("https://best.free/api/tools/pdf-organizer/", { method: "POST", body: fd });
const blob = await r.blob(); // the organized.pdf
https://best.free/api/tools/pdf-form-filler/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-form-filler/ \
-F 'file=@form.pdf' \
-F 'fields={"full_name": "Jane Doe", "date": "2026-06-27"}' \
-o filled.pdf
Python
import requests
files = {"file": open("form.pdf", "rb")}
data = {"fields": "{\"full_name\": \"Jane Doe\", \"date\": \"2026-06-27\"}"}
r = requests.post("https://best.free/api/tools/pdf-form-filler/", files=files, data=data)
with open("filled.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("fields", "{\"full_name\": \"Jane Doe\", \"date\": \"2026-06-27\"}");
const r = await fetch("https://best.free/api/tools/pdf-form-filler/", { method: "POST", body: fd });
const blob = await r.blob(); // the filled.pdf
https://best.free/api/tools/pdf-to-excel/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-to-excel/ \
-F 'file=@report.pdf' \
-o tables.xlsx
Python
import requests
files = {"file": open("report.pdf", "rb")}
r = requests.post("https://best.free/api/tools/pdf-to-excel/", files=files)
with open("tables.xlsx", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/pdf-to-excel/", { method: "POST", body: fd });
const blob = await r.blob(); // the tables.xlsx
https://best.free/api/tools/pdf-to-jpg/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-to-jpg/ \
-F 'file=@document.pdf' \
-F 'dpi=150' \
-o pages-jpg.zip
Python
import requests
files = {"file": open("document.pdf", "rb")}
data = {"dpi": 150}
r = requests.post("https://best.free/api/tools/pdf-to-jpg/", files=files, data=data)
with open("pages-jpg.zip", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("dpi", 150);
const r = await fetch("https://best.free/api/tools/pdf-to-jpg/", { method: "POST", body: fd });
const blob = await r.blob(); // the pages-jpg.zip
https://best.free/api/tools/pdf-to-ppt/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-to-ppt/ \
-F 'file=@document.pdf' \
-F 'dpi=150' \
-o slides.pptx
Python
import requests
files = {"file": open("document.pdf", "rb")}
data = {"dpi": 150}
r = requests.post("https://best.free/api/tools/pdf-to-ppt/", files=files, data=data)
with open("slides.pptx", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("dpi", 150);
const r = await fetch("https://best.free/api/tools/pdf-to-ppt/", { method: "POST", body: fd });
const blob = await r.blob(); // the slides.pptx
https://best.free/api/tools/pdf-to-word/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-to-word/ \
-F 'file=@document.pdf' \
-o document.docx
Python
import requests
files = {"file": open("document.pdf", "rb")}
r = requests.post("https://best.free/api/tools/pdf-to-word/", files=files)
with open("document.docx", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/pdf-to-word/", { method: "POST", body: fd });
const blob = await r.blob(); // the document.docx
https://best.free/api/tools/password-generator/
buka alat →
cURL
curl -X POST https://best.free/api/tools/password-generator/ \
-H 'Content-Type: application/json' \
-d '{"length": 20, "count": 5, "upper": true, "lower": true, "digits": true, "symbols": true}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/password-generator/",
json={"length": 20, "count": 5, "upper": True, "lower": True, "digits": True, "symbols": True},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/password-generator/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ length: 20, count: 5, upper: true, lower: true, digits: true, symbols: true }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/ppt-to-pdf/
buka alat →
cURL
curl -X POST https://best.free/api/tools/ppt-to-pdf/ \
-F 'file=@deck.pptx' \
-o slides.pdf
Python
import requests
files = {"file": open("deck.pptx", "rb")}
r = requests.post("https://best.free/api/tools/ppt-to-pdf/", files=files)
with open("slides.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
const r = await fetch("https://best.free/api/tools/ppt-to-pdf/", { method: "POST", body: fd });
const blob = await r.blob(); // the slides.pdf
https://best.free/api/tools/qr-code-generator/
buka alat →
cURL
curl -X POST https://best.free/api/tools/qr-code-generator/ \
-H 'Content-Type: application/json' \
-d '{"text": "https://best.free", "size": 10, "ec": "M"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/qr-code-generator/",
json={"text": "https://best.free", "size": 10, "ec": "M"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/qr-code-generator/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "https://best.free", size: 10, ec: "M" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/resume-builder/
buka alat →
cURL
curl -X POST https://best.free/api/tools/resume-builder/ \
-H 'Content-Type: application/json' \
-d '{"name": "Ada Lovelace", "title": "Software Engineer", "email": "ada@example.com", "summary": "Backend engineer with 8 years experience.", "experience": "Senior Engineer, Acme (2020-2026)", "education": "BSc Computer Science", "skills": "Python, Django, PostgreSQL"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/resume-builder/",
json={"name": "Ada Lovelace", "title": "Software Engineer", "email": "ada@example.com", "summary": "Backend engineer with 8 years experience.", "experience": "Senior Engineer, Acme (2020-2026)", "education": "BSc Computer Science", "skills": "Python, Django, PostgreSQL"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/resume-builder/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ name: "Ada Lovelace", title: "Software Engineer", email: "ada@example.com", summary: "Backend engineer with 8 years experience.", experience: "Senior Engineer, Acme (2020-2026)", education: "BSc Computer Science", skills: "Python, Django, PostgreSQL" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/image-rotate/
buka alat →
cURL
curl -X POST https://best.free/api/tools/image-rotate/ \
-F 'file=@photo.jpg' \
-F 'angle=90' \
-F 'flip=none' \
-o rotated.png
Python
import requests
files = {"file": open("photo.jpg", "rb")}
data = {"angle": 90, "flip": "none"}
r = requests.post("https://best.free/api/tools/image-rotate/", files=files, data=data)
with open("rotated.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("angle", 90);
fd.append("flip", "none");
const r = await fetch("https://best.free/api/tools/image-rotate/", { method: "POST", body: fd });
const blob = await r.blob(); // the rotated.png
https://best.free/api/tools/svg-to-png/
buka alat →
cURL
curl -X POST https://best.free/api/tools/svg-to-png/ \
-F 'file=@image.svg' \
-F 'format=png' \
-F 'scale=1' \
-o image.png
Python
import requests
files = {"file": open("image.svg", "rb")}
data = {"format": "png", "scale": 1}
r = requests.post("https://best.free/api/tools/svg-to-png/", files=files, data=data)
with open("image.png", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("format", "png");
fd.append("scale", 1);
const r = await fetch("https://best.free/api/tools/svg-to-png/", { method: "POST", body: fd });
const blob = await r.blob(); // the image.png
https://best.free/api/tools/pdf-sign/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-sign/ \
-F 'file=@contract.pdf' \
-F 'signature=@signature.png' \
-F 'text=Jane Doe' \
-F 'page=1' \
-F 'x=350' \
-F 'y=680' \
-F 'width=160' \
-o signed.pdf
Python
import requests
files = {"file": open("contract.pdf", "rb"), "signature": open("signature.png", "rb")}
data = {"text": "Jane Doe", "page": 1, "x": 350, "y": 680, "width": 160}
r = requests.post("https://best.free/api/tools/pdf-sign/", files=files, data=data)
with open("signed.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("signature", fileInput.files[0]);
fd.append("text", "Jane Doe");
fd.append("page", 1);
fd.append("x", 350);
fd.append("y", 680);
fd.append("width", 160);
const r = await fetch("https://best.free/api/tools/pdf-sign/", { method: "POST", body: fd });
const blob = await r.blob(); // the signed.pdf
https://best.free/api/tools/split-pdf/
buka alat →
cURL
curl -X POST https://best.free/api/tools/split-pdf/ \
-F 'file=@document.pdf' \
-F 'pages=1-3,5' \
-F 'mode=extract' \
-o split.pdf
Python
import requests
files = {"file": open("document.pdf", "rb")}
data = {"pages": "1-3,5", "mode": "extract"}
r = requests.post("https://best.free/api/tools/split-pdf/", files=files, data=data)
with open("split.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("pages", "1-3,5");
fd.append("mode", "extract");
const r = await fetch("https://best.free/api/tools/split-pdf/", { method: "POST", body: fd });
const blob = await r.blob(); // the split.pdf
https://best.free/api/tools/url-shortener/
buka alat →
cURL
curl -X POST https://best.free/api/tools/url-shortener/ \
-H 'Content-Type: application/json' \
-d '{"url": "https://example.com/a/very/long/path"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/url-shortener/",
json={"url": "https://example.com/a/very/long/path"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/url-shortener/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ url: "https://example.com/a/very/long/path" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/unit-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/unit-converter/ \
-H 'Content-Type: application/json' \
-d '{"category": "length", "value": 10, "from": "mi", "to": "km"}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/unit-converter/",
json={"category": "length", "value": 10, "from": "mi", "to": "km"},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/unit-converter/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ category: "length", value: 10, from: "mi", to: "km" }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/pdf-unlock/
buka alat →
cURL
curl -X POST https://best.free/api/tools/pdf-unlock/ \
-F 'file=@protected.pdf' \
-F 'action=remove' \
-F 'password=currentpass' \
-F 'new_password=newpass' \
-o unlocked.pdf
Python
import requests
files = {"file": open("protected.pdf", "rb")}
data = {"action": "remove", "password": "currentpass", "new_password": "newpass"}
r = requests.post("https://best.free/api/tools/pdf-unlock/", files=files, data=data)
with open("unlocked.pdf", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("action", "remove");
fd.append("password", "currentpass");
fd.append("new_password", "newpass");
const r = await fetch("https://best.free/api/tools/pdf-unlock/", { method: "POST", body: fd });
const blob = await r.blob(); // the unlocked.pdf
https://best.free/api/tools/video-converter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/video-converter/ \
-F 'file=@clip.mov' \
-F 'format=mp4' \
-o video.mp4
Python
import requests
files = {"file": open("clip.mov", "rb")}
data = {"format": "mp4"}
r = requests.post("https://best.free/api/tools/video-converter/", files=files, data=data)
with open("video.mp4", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
fd.append("file", fileInput.files[0]);
fd.append("format", "mp4");
const r = await fetch("https://best.free/api/tools/video-converter/", { method: "POST", body: fd });
const blob = await r.blob(); // the video.mp4
https://best.free/api/tools/word-counter/
buka alat →
cURL
curl -X POST https://best.free/api/tools/word-counter/ \
-H 'Content-Type: application/json' \
-d '{"text": "Paste any text here to count it."}'
Python
import requests
r = requests.post(
"https://best.free/api/tools/word-counter/",
json={"text": "Paste any text here to count it."},
)
print(r.json())
JavaScript
const r = await fetch("https://best.free/api/tools/word-counter/", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "Paste any text here to count it." }),
});
const data = await r.json();
console.log(data);
https://best.free/api/tools/archive-zip/
buka alat →
cURL
curl -X POST https://best.free/api/tools/archive-zip/ \
-F 'files=@file1.txt' \
-F 'files=@file2.txt' \
-F 'level=6' \
-F 'name=archive' \
-o archive.zip
Python
import requests
files = [("files", open(p, "rb")) for p in ["file1.txt", "file2.txt"]]
data = {"level": 6, "name": "archive"}
r = requests.post("https://best.free/api/tools/archive-zip/", files=files, data=data)
with open("archive.zip", "wb") as out:
out.write(r.content)
JavaScript
const fd = new FormData();
for (const file of fileInput.files) fd.append("files", file);
fd.append("level", 6);
fd.append("name", "archive");
const r = await fetch("https://best.free/api/tools/archive-zip/", { method: "POST", body: fd });
const blob = await r.blob(); // the archive.zip
Perlu had yang lebih tinggi, pemprosesan berbilang atau kekunci khusus?Hubungi kami.