TinyFn

io.tinyfn由 tinyfn.io 发布官方发布者v1.0.2更新于 Oct 24, 2026

500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.

已验证Streamable HTTP可网页运行开发者工具数据与分析

概览

AI 生成的概览

TinyFn 是一个远程 MCP 服务器,为助手提供 500 多个确定性工具,涵盖数学、单位换算、校验、哈希、编码、日期和统计。

可以做什么
检查与计算数字:质数、奇偶、阶乘、斐波那契、最大公约数与最小公倍数、幂、开方、对数、三角函数、取整与区间限制,以及基础四则运算和列表的最小值、最大值、平均值。换算单位与格式:温度、长度、重量、体积、速度、数据大小、进制和颜色值。校验输入:邮箱、网址、电话、信用卡号、UUID、IP、JSON、日期、十六进制和 Base64。哈希与编码:MD5、SHA-256/512、SHA-3、BLAKE2、HMAC、CRC32、Base64、URL、HTML、十六进制、JWT 解码、ROT13 和摩尔斯电码。处理日期与统计:日期解析、日期差、时区转换、闰年,以及均值、中位数、众数、方差、百分位数和相关性。生成内容:UUID、密码、令牌、随机数与随机字符串、骰子、抛硬币和打乱列表。
适用场景
当助手需要给出精确的算术结果、单位或颜色换算、格式校验、哈希、编码或日期计算,而不是靠估算时适用,尤其适合编程、数据分析、运维和内容创作场景。
运行要求
使用 api.tinyfn.io 的远程端点,无需本地安装。需要 TinyFn API 密钥,通过 X-API-Key 请求头发送,可在厂商网站免费获取。对工具有数量限制的客户端可使用按类别划分的端点,且网址必须以斜杠结尾。需要网络访问。
安装前请注意
每次调用都会发送到第三方服务并计入配额:免费版每月 100 次请求、每分钟 10 次,更高用量需付费。API 密钥属于机密,应避免写入共享配置。哈希、编码和 JWT 工具会把提交的文本发送到远程服务器,不要提交密钥或敏感数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 TinyFn,将其添加到工作区。
  2. 连接 X-API-Key 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.tinyfn%2Ftinyfn/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "tinyfn": {
      "type": "http",
      "url": "https://api.tinyfn.io/mcp/all/",
      "headers": {
        "X-API-Key": "<YOUR_API_KEY>"
      }
    }
  }
}

README

[TinyFn]

TinyFn MCP Server

🧮 Give your AI agent 500+ deterministic tools
Stop hallucinating math. Start getting correct answers.

[License] [Docs] [Smithery]

Quick Start • Servers • Examples • Pricing • Docs • Support


[TinyFn — 500+ Deterministic Tools for AI Agents]



🎉 Free Tier Available!
100 requests/month FREE — no credit card required
Get your free API key →

The Problem

LLMs are great at reasoning. They're terrible at math.

Ask any AI assistant to compute 17% of 4,847 and you'll get a confident, wrong answer. Ask it to validate an email with regex, generate a SHA-256 hash, or convert timezones — same story. LLMs hallucinate on deterministic tasks.

TinyFn is a Model Context Protocol (MCP) server that gives your AI assistant 500+ tools that always return the correct answer. Math, conversions, validations, hashing, date arithmetic — the boring stuff, done right.


🧮 500+ Tools
Math, strings, dates,
and much more
🎯 Zero Hallucinations
Deterministic results
every single time
⚡ No Installation
Remote MCP server
zero setup
🔌 Works Everywhere
Claude, Cursor, Windsurf,
any MCP client

🖥️ Works With Your Tools

TinyFn runs as a remote MCP server — no npx, no Docker, no local install. Just add the URL to your config.

PlatformTool LimitRecommended SetupConfig Location
Claude Code500+ (Tool Search)/mcp/all/ — use everything~/.claude/settings.json
Claude Desktop~100 tools2–3 category servers~/Library/Application Support/Claude/claude_desktop_config.json
Cursor~40 tools1–2 focused serversCursor MCP settings
Windsurf~40 tools1–2 focused serversWindsurf MCP settings
Continue.devVariesCategory servers.continue/config.json
Any MCP ClientVariesMatch to your tool limitClient-specific

💡 Why category servers? Most AI clients limit the number of tools. TinyFn splits 500+ tools across 12 focused servers so you can pick exactly what you need.


✅ Example Queries That Just Work

Once connected, just ask your AI assistant in plain language:

Math & Numbers

  • ✅ "Is 7919 a prime number?"
  • ✅ "What's 17% of 4,847?"
  • ✅ "Calculate the factorial of 12"

Conversions

  • ✅ "Convert 72°F to Celsius"
  • ✅ "How many miles is 100 kilometers?"
  • ✅ "Convert #3B82F6 to RGB values"

Validation

  • ✅ "Is [email protected] a valid email address?"
  • ✅ "Validate this credit card number: 4111111111111111"
  • ✅ "Is 550e8400-e29b-41d4-a716-446655440000 a valid UUID?"

Encoding & Hashing

  • ✅ "Base64 encode 'Hello, World!'"
  • ✅ "Generate a SHA-256 hash of 'my-secret-string'"
  • ✅ "URL encode 'hello world & goodbye'"

Date & Time

  • ✅ "How many days between January 15 and March 22?"
  • ✅ "What's the current Unix timestamp?"
  • ✅ "Is 2024 a leap year?"

Generators

  • ✅ "Generate a UUID"
  • ✅ "Create a secure 20-character password"
  • ✅ "Roll 3 six-sided dice"

⚡ Quick Start

1. Get your free API key at tinyfn.io (takes 10 seconds)

2. Add TinyFn to your MCP client:

Claude Code

Claude Code supports Tool Search, so you can use the full server with all 500+ tools:

json
{  "mcpServers": {    "tinyfn": {      "url": "https://api.tinyfn.io/mcp/all/",      "headers": {        "X-API-Key": "tf_live_YOUR_KEY_HERE"      }    }  }}

Add this to ~/.claude/settings.json or use claude mcp add.

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "tinyfn-math": {      "url": "https://api.tinyfn.io/mcp/math/",      "headers": {        "X-API-Key": "tf_live_YOUR_KEY_HERE"      }    },    "tinyfn-validate": {      "url": "https://api.tinyfn.io/mcp/validate/",      "headers": {        "X-API-Key": "tf_live_YOUR_KEY_HERE"      }    }  }}

Tip: Claude Desktop supports ~100 tools. Add 2–3 category servers based on your workflow.

Cursor & Windsurf

These platforms have a ~40 tool limit. Pick 1–2 focused servers:

json
{  "mcpServers": {    "tinyfn-validate": {      "url": "https://api.tinyfn.io/mcp/validate/",      "headers": {        "X-API-Key": "tf_live_YOUR_KEY_HERE"      }    }  }}

Recommended for Cursor/Windsurf: validate (15 tools), hash (18 tools), encode (20 tools), convert (42 tools).

Continue.dev

json
{  "experimental": {    "mcpServers": [      {        "name": "tinyfn-math",        "url": "https://api.tinyfn.io/mcp/math/",        "headers": {          "X-API-Key": "tf_live_YOUR_KEY_HERE"        }      }    ]  }}

3. Start asking questions. Your AI now has deterministic tools for math, conversions, validation, and more.


📡 Available MCP Servers

All servers use base URL https://api.tinyfn.io. Pick the categories you need:

ServerEndpointToolsWhat It Does
All/mcp/all/500+Everything — best for Claude Code
Math/mcp/math/52Arithmetic, trig, primes, factorials, comparisons
Convert/mcp/convert/42Temperature, length, weight, volume, speed, data sizes
String/mcp/string/33Case conversion, slugify, trim, word count, extraction
Datetime/mcp/datetime/24Date parsing, formatting, diffs, timezones, leap years
Encode/mcp/encode/20Base64, URL, HTML, hex, ROT13, morse, JWT decode
Hash/mcp/hash/18MD5, SHA-256, SHA-512, HMAC, bcrypt, CRC32
Color/mcp/color/30HEX/RGB/HSL conversion, gradients, contrast, palettes
Stats/mcp/stats/16Mean, median, mode, std dev, percentiles, correlation
Validate/mcp/validate/15Email, URL, phone, credit card, UUID, IP, JSON, dates
Finance/mcp/finance/15Interest, loans, mortgage, ROI, margin, tip calculator
Generate/mcp/generate/15UUIDs, passwords, random numbers, lorem ipsum, dice

⚠️ Important: All URLs must end with a trailing / or requests will return 404 errors.


🛠️ Tool Categories

🔢 Math & Numbers — 52 tools
ToolDescriptionExample
add, subtract, multiply, divideBasic arithmeticadd(17, 25) → 42
percentagePercentage calculationpercentage(17, 4847) → 823.99
is_primePrimality testingis_prime(7919) → true
factorialFactorial calculationfactorial(12) → 479001600
fibonacciNth Fibonacci numberfibonacci(10) → 55
gcd, lcmGCD and LCMgcd(48, 18) → 6
power, square_rootExponentiationsquare_root(144) → 12
sin, cos, tanTrigonometric functionssin(1.5708) → 1.0
log, log10, log2Logarithmslog10(1000) → 3
floor, ceil, round_numberRoundingceil(4.2) → 5
absolute_value, signNumber propertiessign(-42) → -1
clamp, distance, hypotenuseRange & geometryhypotenuse(3, 4) → 5
📝 String Operations — 33 tools
ToolDescriptionExample
reverse_stringReverse textreverse_string("hello") → "olleh"
uppercase, lowercaseCase conversionuppercase("hello") → "HELLO"
camel_case, snake_case, kebab_caseNaming conventionssnake_case("helloWorld") → "hello_world"
slugURL-safe slugsslug("Hello World!") → "hello-world"
trim, padWhitespace handlingtrim(" hi ") → "hi"
word_count, string_lengthText metricsword_count("hello world") → 2
contains, starts_with, ends_withString matchingcontains("hello", "ell") → true
split, joinArray operationssplit("a,b,c", ",") → ["a","b","c"]
extract_emails, extract_urlsContent extractionExtract emails from text blocks
is_palindromePalindrome checkis_palindrome("racecar") → true
count_char, count_substringCharacter countingcount_char("hello", "l") → 2
✅ Validation — 15 tools
ToolDescriptionExample
validate_emailEmail format validationvalidate_email("[email protected]") → true
validate_urlURL format validationvalidate_url("https://tinyfn.io") → true
validate_phonePhone number validationvalidate_phone("+1-555-123-4567") → true
validate_credit_cardLuhn algorithm checkvalidate_credit_card("4111111111111111") → true
validate_uuidUUID format validationvalidate_uuid("550e8400-e29b-41d4-a716-446655440000") → true
validate_ipIPv4/IPv6 validationvalidate_ip("192.168.1.1") → true
validate_jsonJSON syntax validationvalidate_json('{"key": "value"}') → true
validate_dateDate format validationvalidate_date("2024-02-29") → true
validate_hexHex string validationvalidate_hex("1a2b3c") → true
validate_base64Base64 validationvalidate_base64("SGVsbG8=") → true
🔄 Conversions — 42 tools
ToolDescriptionExample
celsius_to_fahrenheitTemperaturecelsius_to_fahrenheit(100) → 212
kilometers_to_milesDistancekilometers_to_miles(100) → 62.14
kilograms_to_poundsWeightkilograms_to_pounds(70) → 154.32
liters_to_gallons_usVolumeliters_to_gallons_us(3.785) → 1.0
hex_to_rgbColorhex_to_rgb("#3B82F6") → {r:59, g:130, b:246}
decimal_to_binaryBase conversiondecimal_to_binary(42) → "101010"
bytes_to_humanFile sizesbytes_to_human(1073741824) → "1 GB"
mph_to_kphSpeedmph_to_kph(60) → 96.56
inches_to_centimetersLengthinches_to_centimeters(12) → 30.48
hours_to_minutesTimehours_to_minutes(2.5) → 150
🔐 Hashing — 18 tools
ToolDescriptionExample
hash_md5MD5 hashhash_md5("hello") → "5d41402abc4b..."
hash_sha256SHA-256 hashhash_sha256("hello") → "2cf24dba5fb0..."
hash_sha512SHA-512 hashFull 128-char hex digest
hmac_sha256HMAC signatureKeyed hash authentication
hash_sha3_256, hash_sha3_512SHA-3 familyModern hash algorithms
hash_blake2b, hash_blake2sBLAKE2High-performance hashing
hash_crc32CRC32 checksumError detection codes
compare_hashesTiming-safe compareConstant-time hash comparison
identify_hashHash identificationDetect hash algorithm from string
🔑 Encoding — 20 tools
ToolDescriptionExample
base64_encode, base64_decodeBase64base64_encode("Hello") → "SGVsbG8="
url_encode, url_decodeURL encodingurl_encode("hello world") → "hello%20world"
html_encode, html_decodeHTML entitieshtml_encode("<div>") → "&lt;div&gt;"
hex_encode, hex_decodeHex encodinghex_encode("hi") → "6869"
jwt_decodeJWT parsingDecode JWT payload (no verification)
rot13ROT13 cipherrot13("hello") → "uryyb"
morse_encode, morse_decodeMorse codemorse_encode("SOS") → "... --- ..."
json_minify, json_prettifyJSON formattingMinify or pretty-print JSON
📅 Date & Time — 24 tools
ToolDescriptionExample
get_nowCurrent timestampISO 8601 timestamp
format_date, parse_dateDate formattingParse and format dates
date_diffDays between datesdate_diff("2024-01-15", "2024-03-22") → 67 days
add_time, subtract_timeDate arithmeticAdd/subtract days, hours, minutes
convert_timezoneTimezone conversionConvert between any IANA timezones
is_leap_yearLeap year checkis_leap_year(2024) → true
calculate_ageAge from birthdateCalculate exact age
relative_timeRelative formatting"2 hours ago", "in 3 days"
days_in_monthMonth lengthdays_in_month(2, 2024) → 29
is_weekendWeekend checkCheck if a date falls on Sat/Sun
🎲 Generators — 15 tools
ToolDescriptionExample
generate_uuidUUID v4"550e8400-e29b-41d4-a716-446655440000"
generate_uuid_v7UUID v7 (time-sortable)Timestamp-based UUIDs
generate_passwordSecure passwordsConfigurable length and character sets
random_numberRandom integersrandom_number(1, 100) → 42
random_stringRandom stringsConfigurable length and charset
generate_tokenAPI tokensCryptographically secure tokens
generate_loremLorem ipsumGenerate placeholder text
generate_colorRandom colorsRandom hex color codes
roll_diceDice rollingroll_dice(3, 6) → [4, 2, 6]
flip_coinCoin flip"heads" or "tails"
shuffle_listShuffle arraysRandomize array order
🎨 Colors — 30 tools
ToolDescriptionExample
hex_to_hsl, hsl_to_hexColor space conversionConvert between formats
hex_to_rgb, rgb_to_hexRGB conversionhex_to_rgb("#FF5733") → {r:255,g:87,b:51}
lighten_color, darken_colorBrightness adjustmentLighten/darken by percentage
complement_colorComplementary colorsGet the opposite color
triadic_colors, analogous_colorsColor harmoniesGenerate color schemes
contrast_ratioWCAG contrastCheck accessibility compliance
generate_gradientGradient generationGenerate color stops between two colors
generate_shades, generate_tintsShade/tint rampsCreate monochromatic palettes
invert_colorColor inversionInvert any hex color
blend_colorsColor blendingMix two colors together
📊 Statistics — 16 tools
ToolDescriptionExample
calculate_meanArithmetic meancalculate_mean([10, 20, 30]) → 20
calculate_medianMedian valuecalculate_median([1, 3, 5, 7]) → 4
calculate_modeMost frequent valuecalculate_mode([1, 2, 2, 3]) → 2
calculate_variancePopulation varianceStatistical variance
calculate_stddevStandard deviationStatistical spread
calculate_percentilePercentile calculationcalculate_percentile([1..100], 95) → 95
calculate_quartilesQ1, Q2, Q3Quartile boundaries
calculate_correlationPearson correlationCorrelation coefficient between datasets
calculate_zscoreZ-scoreStandard score calculation
describe_dataSummary statisticsFull statistical description of a dataset
💰 Finance — 15 tools
ToolDescriptionExample
compound_interestCompound interestCalculate future value with compounding
simple_interestSimple interestBasic interest calculation
loan_paymentLoan paymentsMonthly payment calculator
mortgage_calculatorMortgageMonthly mortgage with amortization
calculate_tipTip calculatorcalculate_tip(85.50, 20) → $17.10
percentage_changeGrowth/declinepercentage_change(100, 125) → 25%
calculate_markup, calculate_marginPricingMarkup and margin calculations
calculate_discountDiscountsPrice after discount
return_on_investmentROIInvestment return percentage
rule_of_72Doubling timeYears to double an investment
break_evenBreak-even analysisUnits needed to break even
🏃 Health & Fitness — 10 tools
ToolDescriptionExample
calculate_bmiBody Mass Indexcalculate_bmi(70, 1.75) → 22.86
calculate_bmrBasal Metabolic RateDaily calorie baseline
ideal_weightIdeal weight rangeBased on height and frame
heart_rate_zonesTraining zonesFat burn, cardio, peak zones
estimate_body_fatBody fat estimateNavy method estimation
daily_water_intakeWater recommendationBased on weight and activity
calories_burnedExercise caloriesCalories for activity type and duration
calculate_macrosMacro splitProtein/carb/fat breakdown
sleep_cyclesSleep optimizationOptimal wake times based on cycles
🎭 Fun — 10 tools
ToolDescriptionExample
magic_8_ballMagic 8-BallRandom mystical answers
dad_jokeDad jokesGuaranteed groan
fortune_cookieFortune cookiesRandom fortune messages
random_complimentComplimentsBrighten someone's day
random_excuseExcusesCreative excuse generator
would_you_ratherWould You RatherRandom dilemmas
friendly_roastFriendly roastsLight-hearted roasts
random_triviaTriviaRandom trivia facts
yes_noYes/No oracleRandom yes or no

🎯 Perfect For

  • AI-Assisted Development — Cursor and Windsurf users who need reliable math in their coding workflow
  • Data Analysis — Statistics, percentiles, and financial calculations without second-guessing
  • Content Creation — Word counts, slugification, and encoding when building with AI
  • DevOps & Security — Hash generation, UUID creation, and input validation
  • Education — Teach with tools that demonstrate correct mathematical results
  • API Development — Validate inputs, generate test data, and compute values during development

💰 Pricing

FreeStarterProEnterprise

$0/mo

100 requests


✅ All 500+ tools
✅ MCP & REST API
✅ 10 req/min rate limit
✅ Community support

$9/mo

10,000 requests


✅ Everything in Free
✅ 100 req/min rate limit
✅ Email support
✅ Usage analytics

$30/mo

100,000 requests


✅ Everything in Starter
✅ 1,000 req/min rate limit
✅ Priority support
✅ Advanced analytics

Custom

Unlimited


✅ Everything in Pro
✅ SLA guarantee
✅ Dedicated support
✅ Custom integrations

All plans include access to every tool. Sign up free →


🔧 Troubleshooting

❌ Getting 404 errors

All MCP server URLs must end with a trailing slash /.

✅ https://api.tinyfn.io/mcp/math/❌ https://api.tinyfn.io/mcp/math
❌ Authentication errors (401/403)
  1. Verify your API key starts with tf_live_
  2. Check that you're using the X-API-Key header (not Authorization)
  3. Make sure your key is active at tinyfn.io/dashboard
json
{  "headers": {    "X-API-Key": "tf_live_YOUR_KEY_HERE"  }}
❌ Too many tools / client not loading

Your MCP client has a tool limit. Instead of /mcp/all/, use category-specific servers:

If you need...Use serverTools
Validation only/mcp/validate/15
Hashing only/mcp/hash/18
Encoding only/mcp/encode/20
Math only/mcp/math/52

See the full server list for all options.

❌ Rate limit exceeded (429)

You've hit your plan's rate limit. Options:


📚 Documentation & Resources



🤝 Support


📄 License

MIT License — see LICENSE for details.


The boring stuff, done right.

Website • Docs • GitHub • Twitter

来源:README.md,提交 e9f2d8e

工具

200

is_even

Check if a number is even.

输入参数number必填

is_odd

Check if a number is odd.

输入参数number必填

is_prime

Check if a number is prime.

输入参数number必填

is_positive

Check if a number is positive.

输入参数number必填

is_negative

Check if a number is negative.

输入参数number必填

is_zero

Check if a number is zero.

输入参数number必填

is_integer

Check if a number is an integer.

输入参数number必填

is_divisible

Check if a number is divisible by another number.

输入参数number必填divisor必填

is_perfect_square

Check if a number is a perfect square.

输入参数number必填

is_fibonacci

Check if a number is a Fibonacci number.

输入参数number必填

factorial

Calculate the factorial of a number.

输入参数number必填

fibonacci

Get the nth Fibonacci number.

输入参数n必填

gcd

Calculate the greatest common divisor.

输入参数a必填b必填

lcm

Calculate the least common multiple.

输入参数a必填b必填

absolute_value

Get the absolute value of a number.

输入参数number必填

square_root

Calculate the square root of a number.

输入参数number必填

power

Calculate base raised to the power of exponent.

输入参数base必填exponent必填

percentage

Calculate what percentage value is of total.

输入参数total必填value必填

average

Calculate the average of a list of numbers.

输入参数numbers必填

round_number

Round a number to specified decimal places.

输入参数number必填decimals

clamp

Clamp a number within a range.

输入参数number必填maximum必填minimum必填

distance

Calculate Euclidean distance between two points.

输入参数x1必填x2必填y1必填y2必填

sin

Calculate the sine of an angle.

输入参数angle必填

cos

Calculate the cosine of an angle.

输入参数angle必填

tan

Calculate the tangent of an angle.

输入参数angle必填

deg_to_rad

Convert degrees to radians.

输入参数degrees必填

rad_to_deg

Convert radians to degrees.

输入参数radians必填

add

Add two or more numbers together.

输入参数numbers必填

subtract

Subtract b from a.

输入参数a必填b必填

multiply

Multiply two or more numbers together.

输入参数numbers必填

divide

Divide a by b.

输入参数a必填b必填

modulo

Calculate a modulo b (remainder of a divided by b).

输入参数a必填b必填

log

Calculate logarithm. Natural log if no base specified.

输入参数basenumber必填

log10

Calculate base-10 logarithm.

输入参数number必填

log2

Calculate base-2 logarithm.

输入参数number必填

exp

Calculate e raised to the power of number.

输入参数number必填

floor

Round down to nearest integer.

输入参数number必填

ceil

Round up to nearest integer.

输入参数number必填

minimum

Find the minimum value.

输入参数numbers必填

maximum

Find the maximum value.

输入参数numbers必填

sum_numbers

Calculate the sum of numbers.

输入参数numbers必填

sign

Get the sign of a number (-1, 0, or 1).

输入参数number必填

truncate

Truncate to integer (remove decimal part).

输入参数number必填

hypotenuse

Calculate the hypotenuse of a right triangle.

输入参数a必填b必填

cube

Calculate the cube of a number.

输入参数number必填

cube_root

Calculate the cube root of a number.

输入参数number必填

square

Calculate the square of a number.

输入参数number必填

nth_root

Calculate the nth root of a number.

输入参数n必填number必填

compare

Compare two numbers (e.g., is 0.9 greater than 0.11?).

输入参数a必填b必填

compare_decimals

Compare decimal numbers with detailed explanation (handles 0.9 vs 0.11 correctly).

输入参数a必填b必填

rank_numbers

Rank a list of numbers from largest to smallest (or vice versa).

输入参数ordernumbers必填

is_between

Check if a number is between two bounds.

输入参数lower必填upper必填number必填inclusive

reverse_string

Reverse a string.

输入参数text必填

uppercase

Convert text to uppercase.

输入参数text必填

lowercase

Convert text to lowercase.

输入参数text必填

capitalize

Capitalize the first letter of each word.

输入参数text必填

title_case

Convert text to title case.

输入参数text必填

sentence_case

Convert text to sentence case.

输入参数text必填

camel_case

Convert text to camelCase.

输入参数text必填

snake_case

Convert text to snake_case.

输入参数text必填

kebab_case

Convert text to kebab-case.

输入参数text必填

pascal_case

Convert text to PascalCase.

输入参数text必填

string_length

Get the length of a string.

输入参数text必填

word_count

Count words in text.

输入参数text必填

trim

Trim whitespace from text.

输入参数text必填

truncate_2

Truncate text to a specified length.

输入参数text必填lengthsuffix

pad

Pad text to a specified length.

输入参数charsidetext必填length必填

repeat

Repeat text a specified number of times.

输入参数text必填times必填separator

replace

Replace occurrences in text.

输入参数text必填search必填replacement

contains

Check if text contains a substring.

输入参数text必填search必填case_sensitive

starts_with

Check if text starts with a prefix.

输入参数text必填prefix必填

ends_with

Check if text ends with a suffix.

输入参数text必填suffix必填

split

Split text by delimiter.

输入参数text必填delimiter

join

Join items with a delimiter.

输入参数items必填delimiter

slug

Convert text to URL-friendly slug.

输入参数text必填

is_palindrome

Check if text is a palindrome.

输入参数text必填ignore_caseignore_spaces

count_char

Count occurrences of a character (e.g., how many 'r' in 'strawberry').

输入参数char必填text必填case_sensitive

count_substring

Count occurrences of a substring.

输入参数text必填substring必填overlappingcase_sensitive

count_all_chars

Count occurrences of each character in text.

输入参数text必填

remove_whitespace

Remove all whitespace from text.

输入参数text必填

normalize_whitespace

Normalize whitespace (multiple spaces to single).

输入参数text必填

is_empty

Check if text is empty or whitespace only.

输入参数text

extract_numbers

Extract all numbers from text.

输入参数text必填

extract_emails

Extract all email addresses from text.

输入参数text必填

extract_urls

Extract all URLs from text.

输入参数text必填

celsius_to_fahrenheit

Convert Celsius to Fahrenheit.

输入参数celsius必填

fahrenheit_to_celsius

Convert Fahrenheit to Celsius.

输入参数fahrenheit必填

celsius_to_kelvin

Convert Celsius to Kelvin.

输入参数celsius必填

kelvin_to_celsius

Convert Kelvin to Celsius.

输入参数kelvin必填

meters_to_feet

Convert meters to feet.

输入参数meters必填

feet_to_meters

Convert feet to meters.

输入参数feet必填

kilometers_to_miles

Convert kilometers to miles.

输入参数kilometers必填

miles_to_kilometers

Convert miles to kilometers.

输入参数miles必填

inches_to_centimeters

Convert inches to centimeters.

输入参数inches必填

centimeters_to_inches

Convert centimeters to inches.

输入参数centimeters必填

kilograms_to_pounds

Convert kilograms to pounds.

输入参数kilograms必填

pounds_to_kilograms

Convert pounds to kilograms.

输入参数pounds必填

ounces_to_grams

Convert ounces to grams.

输入参数ounces必填

grams_to_ounces

Convert grams to ounces.

输入参数grams必填

stone_to_kilograms

Convert stone to kilograms.

输入参数stone必填

liters_to_gallons_us

Convert liters to US gallons.

输入参数liters必填

gallons_us_to_liters

Convert US gallons to liters.

输入参数gallons必填

liters_to_gallons_uk

Convert liters to UK gallons. Because a UK gallon isn't a US gallon.

输入参数liters必填

gallons_uk_to_liters

Convert UK gallons to liters.

输入参数gallons必填

milliliters_to_fluid_ounces

Convert milliliters to US fluid ounces.

输入参数milliliters必填

cups_to_milliliters

Convert US cups to milliliters.

输入参数cups必填

milliliters_to_cups

Convert milliliters to US cups.

输入参数milliliters必填

square_meters_to_square_feet

Convert square meters to square feet.

输入参数square_meters必填

square_feet_to_square_meters

Convert square feet to square meters.

输入参数square_feet必填

acres_to_hectares

Convert acres to hectares.

输入参数acres必填

mph_to_kph

Convert miles per hour to kilometers per hour.

输入参数mph必填

kph_to_mph

Convert kilometers per hour to miles per hour.

输入参数kph必填

meters_per_second_to_mph

Convert meters per second to miles per hour.

输入参数mps必填

knots_to_kph

Convert knots to kilometers per hour.

输入参数knots必填

bytes_to_human

Convert bytes to human-readable format.

输入参数bytes_val必填

kilobytes_to_megabytes

Convert kilobytes to megabytes.

输入参数kilobytes必填

megabytes_to_gigabytes

Convert megabytes to gigabytes.

输入参数megabytes必填

decimal_to_binary

Convert decimal to binary.

输入参数number必填

binary_to_decimal

Convert binary to decimal.

输入参数binary必填

decimal_to_hexadecimal

Convert decimal to hexadecimal.

输入参数number必填

hexadecimal_to_decimal

Convert hexadecimal to decimal.

输入参数hexadecimal必填

decimal_to_octal

Convert decimal to octal.

输入参数number必填

hex_to_rgb

Convert hex color to RGB.

输入参数hex_color必填

rgb_to_hex

Convert RGB to hex color.

输入参数b必填g必填r必填

hours_to_minutes

Convert hours to minutes.

输入参数hours必填

minutes_to_seconds

Convert minutes to seconds.

输入参数minutes必填

seconds_to_hms

Convert seconds to hours:minutes:seconds.

输入参数seconds必填

generate_uuid

Generate UUID(s).

输入参数countversion

generate_uuid_v7

Generate UUID v7 (time-ordered).

输入参数count

random_number

Generate random integer(s).

输入参数countmax_valmin_val

random_float

Generate random float(s).

输入参数countmax_valmin_valdecimals

random_string

Generate random string(s).

输入参数countlengthcharset

generate_password

Generate secure password(s).

输入参数countlengthnumberssymbolslowercaseuppercaseexclude_ambiguous

generate_token

Generate cryptographically secure token.

输入参数formatlength

generate_hash

Generate hash of text.

输入参数text必填algorithm

generate_lorem

Generate lorem ipsum text using Faker.

输入参数paragraphssentences_per_paragraph

generate_color

Generate random color(s).

输入参数countformat

roll_dice

Roll dice.

输入参数countsides

flip_coin

Flip a coin.

输入参数count

shuffle_list

Shuffle a list of items.

输入参数items必填

pick_random

Pick random item(s) from a list.

输入参数countitems必填

generate_sequence

Generate a number sequence.

输入参数endstepstart

validate_email

Validate an email address.

输入参数email必填

validate_url

Validate a URL.

输入参数url必填

validate_phone

Validate a phone number.

输入参数phone必填country

validate_credit_card

Validate a credit card number using Luhn algorithm.

输入参数number必填

validate_uuid

Validate a UUID.

输入参数uuid_str必填

validate_ip

Validate an IP address (v4 or v6).

输入参数ip必填

validate_mac

Validate a MAC address.

输入参数mac必填

validate_json

Validate JSON syntax.

输入参数json_str必填

validate_hex

Validate a hexadecimal string.

输入参数hex_str必填

validate_base64

Validate a base64 string.

输入参数base64_str必填

validate_alphanumeric

Check if text is alphanumeric.

输入参数text必填

validate_password_strength

Check password strength.

输入参数password必填

validate_date

Validate a date string.

输入参数formatdate_str必填

validate_domain

Validate a domain name.

输入参数domain必填

validate_semver

Validate a semantic version string.

输入参数version必填

get_now

Get current date and time.

输入参数tz

convert_timestamp

Convert Unix timestamp to date.

输入参数timestamp必填

convert_timestamp_ms

Convert Unix timestamp (milliseconds) to date.

输入参数timestamp_ms必填

date_to_timestamp

Convert date to Unix timestamp.

输入参数date必填

format_date

Format a date string.

输入参数date必填format

parse_date

Parse a date string.

输入参数date必填format

add_time

Add time to a date.

输入参数date必填dayshoursweeksminutesseconds

subtract_time

Subtract time from a date.

输入参数date必填dayshoursweeksminutesseconds

date_diff

Calculate difference between two dates.

输入参数date1必填date2必填

is_leap_year

Check if a year is a leap year.

输入参数year必填

days_in_month

Get the number of days in a month.

输入参数year必填month必填

week_number

Get the ISO week number of a date.

输入参数date必填

day_of_year

Get the day of year for a date.

输入参数date必填

is_weekend

Check if a date is a weekend.

输入参数date必填

calculate_age

Calculate age from birthdate.

输入参数birthdate必填

relative_time

Get relative time description (e.g., '2 days ago').

输入参数date必填

current_time

Get current time in specified timezone.

输入参数timezone_name

convert_timezone

Convert datetime between timezones.

输入参数to_tzfrom_tzdatetime_str必填

time_difference

Calculate difference between two datetimes.

输入参数datetime1必填datetime2必填

add_time_2

Add time to a datetime.

输入参数dayshoursminutessecondsdatetime_str必填

subtract_time_2

Subtract time from a datetime.

输入参数dayshoursminutessecondsdatetime_str必填

start_of_period

Get the start of a time period.

输入参数perioddatetime_str必填

end_of_period

Get the end of a time period.

输入参数perioddatetime_str必填

is_leap_year_2

Check if a year is a leap year.

输入参数year必填

days_in_month_2

Get the number of days in a month.

输入参数year必填month必填

week_number_2

Get the ISO week number for a date.

输入参数datetime_str必填

get_quarter

Get the quarter for a date.

输入参数datetime_str必填

business_days

Count business days between two dates (excluding weekends).

输入参数end_date必填start_date必填

add_business_days

Add business days to a date.

输入参数days必填start_date必填

calculate_age_2

Calculate age from birthdate.

输入参数as_ofbirthdate必填

list_timezones

List all available timezone abbreviations.

无需输入参数。

unix_to_datetime

Convert Unix timestamp to datetime.

输入参数timestamp必填timezone_name

datetime_to_unix

Convert datetime to Unix timestamp.

输入参数datetime_str必填

base64_encode

Encode text to base64. Properly handles Unicode.

输入参数text必填

base64_decode

Decode base64 to text.

输入参数encoded必填

url_encode

URL encode text.

输入参数text必填

url_decode

URL decode text.

输入参数encoded必填

html_encode

HTML encode text (escape special characters).

输入参数text必填

html_decode

HTML decode text (unescape special characters).

输入参数encoded必填

hex_encode

Encode text to hexadecimal.

输入参数text必填

hex_decode

Decode hexadecimal to text.

输入参数encoded必填

binary_encode

Encode text to binary.

输入参数text必填

binary_decode

Decode binary to text.

输入参数binary必填

版本历史

1
  1. v1.0.2最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分